sc_core::sc_port_b< IF > Class Template Reference

Abstract base class for class sc_port. More...

#include <sysc/communication/sc_port.h>

Inheritance diagram for sc_core::sc_port_b< IF >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_port_b< IF >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef sc_port_base base_type
typedef sc_port_b< IF > this_type
typedef this_type port_type

Public Member Functions

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

Protected Member Functions

 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

Friends

class sc_sensitive
class sc_sensitive_neg
class sc_sensitive_pos

Detailed Description

template<class IF>
class sc_core::sc_port_b< IF >

Abstract base class for class sc_port.

Definition at line 249 of file sc_port.h.


Member Typedef Documentation

template<class IF>
typedef sc_port_base sc_core::sc_port_b< IF >::base_type
template<class IF>
typedef this_type sc_core::sc_port_b< IF >::port_type

Definition at line 262 of file sc_port.h.

template<class IF>
typedef sc_port_b<IF> sc_core::sc_port_b< IF >::this_type

Constructor & Destructor Documentation

template<class IF>
sc_core::sc_port_b< IF >::sc_port_b ( int  max_size_,
sc_port_policy  policy = SC_ONE_OR_MORE_BOUND 
) [inline, explicit, protected]

Definition at line 316 of file sc_port.h.

template<class IF>
sc_core::sc_port_b< IF >::sc_port_b ( const char *  name_,
int  max_size_,
sc_port_policy  policy = SC_ONE_OR_MORE_BOUND 
) [inline, protected]

Definition at line 321 of file sc_port.h.

template<class IF>
virtual sc_core::sc_port_b< IF >::~sc_port_b (  )  [inline, protected, virtual]

Definition at line 330 of file sc_port.h.


Member Function Documentation

template<class IF>
SC_VIRTUAL_ void sc_core::sc_port_b< IF >::bind ( port_type parent_  )  [inline]
template<class IF>
SC_VIRTUAL_ void sc_core::sc_port_b< IF >::bind ( IF &  interface_  )  [inline]

Definition at line 268 of file sc_port.h.

template<class IF>
virtual const sc_interface* sc_core::sc_port_b< IF >::get_interface (  )  const [inline, virtual]

Implements sc_core::sc_port_base.

Definition at line 309 of file sc_port.h.

template<class IF>
virtual sc_interface* sc_core::sc_port_b< IF >::get_interface (  )  [inline, virtual]

Implements sc_core::sc_port_base.

Definition at line 306 of file sc_port.h.

template<class IF >
IF * sc_core::sc_port_b< IF >::get_interface ( int  iface_i  )  [inline]

Definition at line 478 of file sc_port.h.

template<class IF >
const IF * sc_core::sc_port_b< IF >::get_interface ( int  iface_i  )  const [inline]

Definition at line 492 of file sc_port.h.

template<class IF >
void sc_core::sc_port_b< IF >::make_sensitive ( sc_method_handle  handle_p,
sc_event_finder event_finder_ = 0 
) const [inline, protected, virtual]

Reimplemented from sc_core::sc_port_base.

Definition at line 602 of file sc_port.h.

template<class IF >
void sc_core::sc_port_b< IF >::make_sensitive ( sc_thread_handle  handle_p,
sc_event_finder event_finder_ = 0 
) const [inline, protected, virtual]

Reimplemented from sc_core::sc_port_base.

Definition at line 581 of file sc_port.h.

template<class IF>
void sc_core::sc_port_b< IF >::operator() ( port_type parent_  )  [inline]

Reimplemented in sc_core::sc_in< sc_dt::sc_lv< W > >.

Definition at line 280 of file sc_port.h.

template<class IF>
void sc_core::sc_port_b< IF >::operator() ( IF &  interface_  )  [inline]

Definition at line 271 of file sc_port.h.

template<class IF >
const IF * sc_core::sc_port_b< IF >::operator-> (  )  const [inline]

Definition at line 460 of file sc_port.h.

template<class IF >
IF * sc_core::sc_port_b< IF >::operator-> (  )  [inline]

Definition at line 449 of file sc_port.h.

template<class IF>
const IF* sc_core::sc_port_b< IF >::operator[] ( int  index_  )  const [inline]

Definition at line 300 of file sc_port.h.

template<class IF>
IF* sc_core::sc_port_b< IF >::operator[] ( int  index_  )  [inline]

Definition at line 298 of file sc_port.h.

template<class IF>
int sc_core::sc_port_b< IF >::size (  )  const [inline]

Definition at line 286 of file sc_port.h.

template<class IF >
int sc_core::sc_port_b< IF >::vbind ( sc_port_base parent_  )  [inline, protected, virtual]
template<class IF >
int sc_core::sc_port_b< IF >::vbind ( sc_interface interface_  )  [inline, protected, virtual]

Friends And Related Function Documentation

template<class IF>
friend class sc_sensitive [friend]

Reimplemented from sc_core::sc_port_base.

Definition at line 254 of file sc_port.h.

template<class IF>
friend class sc_sensitive_neg [friend]

Reimplemented from sc_core::sc_port_base.

Definition at line 255 of file sc_port.h.

template<class IF>
friend class sc_sensitive_pos [friend]

Reimplemented from sc_core::sc_port_base.

Definition at line 256 of file sc_port.h.


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

Generated on 29 Oct 2015 for SystemC by  doxygen 1.6.1