sc_core::sc_port_base Class Reference

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]

List of all members.

Public Types

typedef sc_port_base this_type

Public Member Functions

int bind_count ()
virtual sc_interfaceget_interface ()=0
virtual const sc_interfaceget_interface () const =0
virtual const char * kind () 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 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


Constructor & Destructor Documentation

sc_core::sc_port_base::sc_port_base ( int  max_size_,
sc_port_policy  policy = SC_ONE_OR_MORE_BOUND 
) [explicit, protected]
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 (  )  [protected, virtual]

Member Function Documentation

virtual void sc_core::sc_port_base::add_interface ( sc_interface  )  [protected, pure virtual]
void sc_core::sc_port_base::add_static_event ( sc_thread_handle  process_p,
const sc_event event 
) const [protected]
void sc_core::sc_port_base::add_static_event ( sc_method_handle  process_p,
const sc_event event 
) const [protected]
virtual void sc_core::sc_port_base::before_end_of_elaboration (  )  [protected, virtual]
void sc_core::sc_port_base::bind ( this_type parent_  )  [protected]
void sc_core::sc_port_base::bind ( sc_interface interface_  )  [protected]
int sc_core::sc_port_base::bind_count (  ) 
virtual void sc_core::sc_port_base::end_of_elaboration (  )  [protected, virtual]
virtual void sc_core::sc_port_base::end_of_simulation (  )  [protected, virtual]
virtual const sc_interface* sc_core::sc_port_base::get_interface (  )  const [pure virtual]
virtual sc_interface* sc_core::sc_port_base::get_interface (  )  [pure virtual]
virtual const char* sc_core::sc_port_base::if_typename (  )  const [protected, pure virtual]
virtual int sc_core::sc_port_base::interface_count (  )  [protected, pure virtual]
virtual const char* sc_core::sc_port_base::kind (  )  const [inline, virtual]
virtual void sc_core::sc_port_base::make_sensitive ( sc_method_handle  ,
sc_event_finder = 0 
) const [protected, virtual]
virtual void sc_core::sc_port_base::make_sensitive ( sc_thread_handle  ,
sc_event_finder = 0 
) const [protected, virtual]
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 (  )  [protected, virtual]
virtual int sc_core::sc_port_base::vbind ( sc_port_base  )  [protected, pure virtual]
virtual int sc_core::sc_port_base::vbind ( sc_interface  )  [protected, pure virtual]

Friends And Related Function Documentation

friend class sc_module [friend]

Reimplemented from sc_core::sc_object.

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]
friend class sc_sensitive_neg [friend]
friend class sc_sensitive_pos [friend]

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:

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1