SystemC  2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | List of all members
sc_core::sc_port< IF, N, P > Class Template Reference

#include <sysc/communication/sc_port.h>

Inheritance diagram for sc_core::sc_port< IF, N, P >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_port< IF, N, P >:
Collaboration graph
[legend]

Public Member Functions

 sc_port ()
 
 sc_port (const char *name_)
 
 sc_port (IF &interface_)
 
 sc_port (const char *name_, IF &interface_)
 
 sc_port (base_type &parent_)
 
 sc_port (const char *name_, base_type &parent_)
 
 sc_port (this_type &parent_)
 
 sc_port (const char *name_, this_type &parent_)
 
virtual ~sc_port ()
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_port_b< IF >
SC_VIRTUAL_ void bind (IF &interface_)
 
void operator() (IF &interface_)
 
SC_VIRTUAL_ void bind (port_type &parent_)
 
void operator() (port_type &parent_)
 
int size () const
 
IF * operator-> ()
 
const IF * operator-> () const
 
const IF * get_interface (int iface_i) const
 
IF * get_interface (int iface_i)
 
IF * operator[] (int index_)
 
const IF * operator[] (int index_) const
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 
- Public Member Functions inherited from sc_core::sc_port_base
int bind_count ()
 
- 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
 

Additional Inherited Members

- Public Types inherited from sc_core::sc_port_b< IF >
typedef sc_port_base base_type
 
typedef sc_port_b< IF > this_type
 
typedef this_type port_type
 
- Public Types inherited from sc_core::sc_port_base
typedef sc_port_base this_type
 
- Public Types inherited from sc_core::sc_object
typedef unsigned phase_cb_mask
 
- Protected Member Functions inherited from sc_core::sc_port_b< IF >
 sc_port_b (int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
 sc_port_b (const char *name_, int max_size_, sc_port_policy policy=SC_ONE_OR_MORE_BOUND)
 
virtual ~sc_port_b ()
 
virtual int vbind (sc_interface &)
 
virtual int vbind (sc_port_base &)
 
virtual void make_sensitive (sc_thread_handle, sc_event_finder *=0) const
 
virtual void make_sensitive (sc_method_handle, sc_event_finder *=0) const
 
- Protected Member Functions inherited from sc_core::sc_port_base
 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 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
 
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 inherited from sc_core::sc_port_base
sc_bind_info * m_bind_info
 

Detailed Description

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
class sc_core::sc_port< IF, N, P >

Definition at line 373 of file sc_port.h.

Constructor & Destructor Documentation

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( )
inline

Definition at line 385 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name_)
inlineexplicit

Definition at line 389 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( IF &  interface_)
inlineexplicit

Definition at line 393 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name_,
IF &  interface_ 
)
inline

Definition at line 397 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( base_type parent_)
inlineexplicit

Definition at line 401 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name_,
base_type parent_ 
)
inline

Definition at line 405 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( this_type parent_)
inline

Definition at line 409 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
sc_core::sc_port< IF, N, P >::sc_port ( const char *  name_,
this_type parent_ 
)
inline

Definition at line 413 of file sc_port.h.

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
virtual sc_core::sc_port< IF, N, P >::~sc_port ( )
inlinevirtual

Definition at line 420 of file sc_port.h.

Member Function Documentation

template<class IF, int N = 1, sc_port_policy P = SC_ONE_OR_MORE_BOUND>
virtual const char* sc_core::sc_port< IF, N, P >::kind ( ) const
inlinevirtual

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