SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
sc_core::sc_port_base Class Referenceabstract

Abstract base class for class sc_port_b. More...

#include <sysc/communication/sc_port.h>

Inheritance diagram for sc_core::sc_port_base:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_port_base:
Collaboration graph
[legend]

Public Types

typedef sc_port_base this_type
 
- Public Types inherited from sc_core::sc_object
typedef unsigned phase_cb_mask
 

Public Member Functions

int bind_count ()
 
virtual sc_interfaceget_interface ()=0
 
virtual const sc_interfaceget_interface () const =0
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (::std::ostream &os=::std::cout) const
 
virtual void dump (::std::ostream &os=::std::cout) const
 
virtual void trace (sc_trace_file *tf) const
 
sc_simcontextsimcontext () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &name_)
 
const sc_attr_baseget_attribute (const std::string &name_) const
 
sc_attr_baseremove_attribute (const std::string &name_)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
virtual const std::vector
< sc_event * > & 
get_child_events () const
 
virtual const std::vector
< sc_object * > & 
get_child_objects () const
 
sc_objectget_parent () const
 
sc_objectget_parent_object () const
 

Protected Member Functions

 sc_port_base (int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
 sc_port_base (const char *name_, int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
virtual ~sc_port_base ()
 
void bind (sc_interface &interface_)
 
void bind (this_type &parent_)
 
virtual int vbind (sc_interface &)=0
 
virtual int vbind (sc_port_base &)=0
 
virtual void add_interface (sc_interface *)=0
 
virtual int interface_count ()=0
 
virtual const char * if_typename () const =0
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
void report_error (const char *id, const char *add_msg=0) const
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=0) const
 
void add_static_event (sc_method_handle process_p, const sc_event &event) const
 
void add_static_event (sc_thread_handle process_p, const sc_event &event) const
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *nm)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
virtual void add_child_event (sc_event *event_p)
 
virtual void add_child_object (sc_object *object_p)
 
virtual bool remove_child_event (sc_event *event_p)
 
virtual bool remove_child_object (sc_object *object_p)
 
phase_cb_mask register_simulation_phase_callback (phase_cb_mask)
 
phase_cb_mask unregister_simulation_phase_callback (phase_cb_mask)
 

Protected Attributes

sc_bind_info * m_bind_info
 

Friends

class sc_module
 
class sc_port_registry
 
class sc_sensitive
 
class sc_sensitive_pos
 
class sc_sensitive_neg
 

Detailed Description

Abstract base class for class sc_port_b.

Definition at line 69 of file sc_port.h.

Member Typedef Documentation

Definition at line 82 of file sc_port.h.

Constructor & Destructor Documentation

sc_core::sc_port_base::sc_port_base ( int  max_size_,
sc_port_policy  policy = SC_ONE_OR_MORE_BOUND 
)
explicitprotected
sc_core::sc_port_base::sc_port_base ( const char *  name_,
int  max_size_,
sc_port_policy  policy = SC_ONE_OR_MORE_BOUND 
)
protected
virtual sc_core::sc_port_base::~sc_port_base ( )
protectedvirtual

Member Function Documentation

virtual void sc_core::sc_port_base::add_interface ( sc_interface )
protectedpure virtual
void sc_core::sc_port_base::add_static_event ( sc_method_handle  process_p,
const sc_event event 
) const
protected
void sc_core::sc_port_base::add_static_event ( sc_thread_handle  process_p,
const sc_event event 
) const
protected
virtual void sc_core::sc_port_base::before_end_of_elaboration ( )
protectedvirtual
void sc_core::sc_port_base::bind ( sc_interface interface_)
protected
void sc_core::sc_port_base::bind ( this_type parent_)
protected
int sc_core::sc_port_base::bind_count ( )
virtual void sc_core::sc_port_base::end_of_elaboration ( )
protectedvirtual
virtual void sc_core::sc_port_base::end_of_simulation ( )
protectedvirtual
virtual sc_interface* sc_core::sc_port_base::get_interface ( )
pure virtual
virtual const sc_interface* sc_core::sc_port_base::get_interface ( ) const
pure virtual
virtual const char* sc_core::sc_port_base::if_typename ( ) const
protectedpure virtual
virtual int sc_core::sc_port_base::interface_count ( )
protectedpure virtual
virtual const char* sc_core::sc_port_base::kind ( ) const
inlinevirtual
virtual void sc_core::sc_port_base::make_sensitive ( sc_thread_handle  ,
sc_event_finder = 0 
) const
protectedvirtual
virtual void sc_core::sc_port_base::make_sensitive ( sc_method_handle  ,
sc_event_finder = 0 
) const
protectedvirtual
void sc_core::sc_port_base::report_error ( const char *  id,
const char *  add_msg = 0 
) const
protected
virtual void sc_core::sc_port_base::start_of_simulation ( )
protectedvirtual
virtual int sc_core::sc_port_base::vbind ( sc_interface )
protectedpure virtual
virtual int sc_core::sc_port_base::vbind ( sc_port_base )
protectedpure virtual

Friends And Related Function Documentation

friend class sc_module
friend

Definition at line 72 of file sc_port.h.

friend class sc_port_registry
friend

Definition at line 73 of file sc_port.h.

friend class sc_sensitive
friend

Definition at line 74 of file sc_port.h.

friend class sc_sensitive_neg
friend

Definition at line 76 of file sc_port.h.

friend class sc_sensitive_pos
friend

Definition at line 75 of file sc_port.h.

Member Data Documentation

sc_bind_info* sc_core::sc_port_base::m_bind_info
protected

Definition at line 171 of file sc_port.h.


The documentation for this class was generated from the following file: