SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Attributes | List of all members
sc_core::sc_export< IF > Class Template Reference

#include <sysc/communication/sc_export.h>

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

Public Member Functions

 sc_export ()
 
 sc_export (const char *name_)
 
virtual ~sc_export ()
 
virtual sc_interfaceget_interface ()
 
virtual const sc_interfaceget_interface () const
 
const IF * operator-> () const
 
IF * operator-> ()
 
 operator IF & ()
 
 operator const IF & () const
 
virtual void bind (IF &interface_)
 
void operator() (IF &interface_)
 
virtual const char * kind () const
 
virtual std::type_index get_interface_type () const
 
virtual sc_interfaceget_interface ()=0
 
virtual const sc_interfaceget_interface () const =0
 
virtual std::type_index get_interface_type () const =0
 
- 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
 
virtual const char * kind () 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
 
virtual ~sc_object ()
 

Protected Attributes

IF * m_interface_p
 

Additional Inherited Members

- Public Types inherited from sc_core::sc_export_base
typedef sc_export_base this_type
 
- Protected Member Functions inherited from sc_core::sc_export_base
 sc_export_base ()
 
 sc_export_base (const char *name)
 
virtual ~sc_export_base ()
 
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
 
- 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 hierarchy_scope get_hierarchy_scope ()
 

Detailed Description

template<class IF>
class sc_core::sc_export< IF >

Definition at line 113 of file sc_export.h.

Constructor & Destructor Documentation

◆ sc_export() [1/2]

template<class IF >
sc_core::sc_export< IF >::sc_export ( )
inline

Definition at line 118 of file sc_export.h.

◆ sc_export() [2/2]

template<class IF >
sc_core::sc_export< IF >::sc_export ( const char *  name_)
inlineexplicit

Definition at line 123 of file sc_export.h.

◆ ~sc_export()

template<class IF >
virtual sc_core::sc_export< IF >::~sc_export ( )
inlinevirtual

Definition at line 129 of file sc_export.h.

Member Function Documentation

◆ bind()

template<class IF >
virtual void sc_core::sc_export< IF >::bind ( IF &  interface_)
inlinevirtual

Definition at line 177 of file sc_export.h.

◆ get_interface() [1/2]

template<class IF >
virtual sc_interface * sc_core::sc_export< IF >::get_interface ( )
inlinevirtual

Implements sc_core::sc_export_base.

Definition at line 135 of file sc_export.h.

◆ get_interface() [2/2]

template<class IF >
virtual const sc_interface * sc_core::sc_export< IF >::get_interface ( ) const
inlinevirtual

Implements sc_core::sc_export_base.

Definition at line 140 of file sc_export.h.

◆ get_interface_type()

template<class IF >
virtual std::type_index sc_core::sc_export< IF >::get_interface_type ( ) const
inlinevirtual

Implements sc_core::sc_export_base.

Definition at line 196 of file sc_export.h.

◆ kind()

template<class IF >
virtual const char * sc_core::sc_export< IF >::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 193 of file sc_export.h.

◆ operator const IF &()

template<class IF >
sc_core::sc_export< IF >::operator const IF & ( ) const
inline

Definition at line 172 of file sc_export.h.

◆ operator IF &()

template<class IF >
sc_core::sc_export< IF >::operator IF & ( )
inline

Definition at line 163 of file sc_export.h.

◆ operator()()

template<class IF >
void sc_core::sc_export< IF >::operator() ( IF &  interface_)
inline

Definition at line 187 of file sc_export.h.

◆ operator->() [1/2]

template<class IF >
IF * sc_core::sc_export< IF >::operator-> ( )
inline

Definition at line 154 of file sc_export.h.

◆ operator->() [2/2]

template<class IF >
const IF * sc_core::sc_export< IF >::operator-> ( ) const
inline

Definition at line 145 of file sc_export.h.

Member Data Documentation

◆ m_interface_p

template<class IF >
IF* sc_core::sc_export< IF >::m_interface_p
protected

Definition at line 206 of file sc_export.h.


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