SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
sc_core::sc_export_base Class Referenceabstract

#include <sysc/communication/sc_export.h>

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

Public Types

typedef sc_export_base this_type
 

Public Member Functions

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 Member Functions

 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 ()
 

Friends

class sc_export_registry
 

Detailed Description

Definition at line 46 of file sc_export.h.

Member Typedef Documentation

◆ this_type

Definition at line 53 of file sc_export.h.

Constructor & Destructor Documentation

◆ sc_export_base() [1/2]

sc_core::sc_export_base::sc_export_base ( )
protected

◆ sc_export_base() [2/2]

sc_core::sc_export_base::sc_export_base ( const char *  name)
protected

◆ ~sc_export_base()

virtual sc_core::sc_export_base::~sc_export_base ( )
protectedvirtual

Member Function Documentation

◆ before_end_of_elaboration()

virtual void sc_core::sc_export_base::before_end_of_elaboration ( )
protectedvirtual

◆ end_of_elaboration()

virtual void sc_core::sc_export_base::end_of_elaboration ( )
protectedvirtual

◆ end_of_simulation()

virtual void sc_core::sc_export_base::end_of_simulation ( )
protectedvirtual

◆ get_interface() [1/2]

virtual const sc_interface * sc_core::sc_export_base::get_interface ( ) const
pure virtual

Implemented in sc_core::sc_export< IF >.

◆ get_interface() [2/2]

virtual sc_interface * sc_core::sc_export_base::get_interface ( )
pure virtual

Implemented in sc_core::sc_export< IF >.

◆ get_interface_type()

virtual std::type_index sc_core::sc_export_base::get_interface_type ( ) const
pure virtual

Implemented in sc_core::sc_export< IF >.

◆ report_error()

void sc_core::sc_export_base::report_error ( const char *  id,
const char *  add_msg = 0 
) const
protected

◆ start_of_simulation()

virtual void sc_core::sc_export_base::start_of_simulation ( )
protectedvirtual

Friends And Related Function Documentation

◆ sc_export_registry

friend class sc_export_registry
friend

Definition at line 48 of file sc_export.h.


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