SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_export_base Class Referenceabstract

#include <sysc/communication/sc_export.h>

Inheritance diagram for sc_core::sc_export_base:
Collaboration diagram for sc_core::sc_export_base:

Public Types

typedef sc_export_base this_type
 
typedef unsigned phase_cb_mask
 

Public Member Functions

virtual sc_interfaceget_interface ()=0
 
virtual const sc_interfaceget_interface () const =0
 
virtual sc_type_index get_interface_type () const =0
 
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
 

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

Friends

class sc_export_registry
 

Detailed Description

Definition at line 57 of file sc_export.h.

Member Typedef Documentation

◆ phase_cb_mask

typedef unsigned sc_core::sc_object::phase_cb_mask
inherited

Definition at line 75 of file sc_object.h.

◆ this_type

Definition at line 64 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

◆ add_attribute()

bool sc_core::sc_object::add_attribute ( sc_attr_base )
inherited

◆ add_child_event()

virtual void sc_core::sc_object::add_child_event ( sc_event event_p)
protectedvirtualinherited

◆ add_child_object()

virtual void sc_core::sc_object::add_child_object ( sc_object object_p)
protectedvirtualinherited

Reimplemented in sc_core::sc_process_b.

◆ attr_cltn() [1/2]

sc_attr_cltn& sc_core::sc_object::attr_cltn ( )
inherited

◆ attr_cltn() [2/2]

const sc_attr_cltn& sc_core::sc_object::attr_cltn ( ) const
inherited

◆ basename()

const char* sc_core::sc_object::basename ( ) const
inherited

◆ before_end_of_elaboration()

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

◆ dump()

virtual void sc_core::sc_object::dump ( ::std::ostream &  os = ::std::cout) const
virtualinherited

◆ 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_attribute() [1/2]

sc_attr_base* sc_core::sc_object::get_attribute ( const std::string &  name_)
inherited

◆ get_attribute() [2/2]

const sc_attr_base* sc_core::sc_object::get_attribute ( const std::string &  name_) const
inherited

◆ get_child_events()

virtual const std::vector<sc_event*>& sc_core::sc_object::get_child_events ( ) const
inlinevirtualinherited

Definition at line 114 of file sc_object.h.

◆ get_child_objects()

virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects ( ) const
inlinevirtualinherited

Reimplemented in sc_core::sc_process_b, and sc_core::sc_module.

Definition at line 117 of file sc_object.h.

◆ get_interface() [1/2]

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

Implemented in sc_core::sc_export< IF >.

◆ get_interface() [2/2]

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

Implemented in sc_core::sc_export< IF >.

◆ get_interface_type()

virtual sc_type_index sc_core::sc_export_base::get_interface_type ( ) const
pure virtual

Implemented in sc_core::sc_export< IF >.

◆ get_parent()

sc_object* sc_core::sc_object::get_parent ( ) const
inherited

◆ get_parent_object()

sc_object* sc_core::sc_object::get_parent_object ( ) const
inlineinherited

Definition at line 121 of file sc_object.h.

◆ kind()

virtual const char* sc_core::sc_object::kind ( ) const
inlinevirtualinherited

Reimplemented in sc_core::sc_out< T >, sc_core::sc_out< bool >, sc_core::sc_inout< sc_dt::sc_logic >, sc_core::sc_inout< bool >, sc_core::sc_inout< T >, sc_core::sc_inout< sc_dt::sc_lv< W > >, sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_in< bool >, sc_core::sc_port< IF, N, P >, sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_fifo_out_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_fifo_in_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_out_rv< W >, sc_core::sc_out_resolved, sc_core::sc_fifo_out< T >, sc_core::sc_in< T >, sc_core::sc_in< sc_dt::sc_lv< W > >, sc_core::sc_inout_rv< W >, sc_core::sc_inout_resolved, sc_core::sc_export< IF >, sc_core::sc_signal_t< T, POL >, sc_core::sc_signal_t< bool, POL >, sc_core::sc_signal_t< sc_dt::sc_logic, POL >, sc_core::sc_vector_base, sc_core::sc_fifo_in< T >, sc_core::sc_fifo< T >, sc_core::sc_signal_rv< W >, sc_core::sc_method_process, sc_core::sc_in_rv< W >, sc_core::sc_thread_process, sc_core::sc_in_resolved, sc_core::sc_clock, sc_core::sc_port_base, sc_core::sc_signal_channel, sc_core::sc_module, sc_core::sc_signal_resolved, sc_core::sc_event_queue, sc_core::sc_buffer< T, POL >, sc_core::sc_semaphore, sc_core::sc_mutex, sc_core::sc_cthread_process, and sc_core::sc_prim_channel.

Definition at line 89 of file sc_object.h.

◆ name()

const char* sc_core::sc_object::name ( ) const
inlineinherited

Definition at line 77 of file sc_object.h.

◆ num_attributes()

int sc_core::sc_object::num_attributes ( ) const
inherited

◆ print()

virtual void sc_core::sc_object::print ( ::std::ostream &  os = ::std::cout) const
virtualinherited

◆ register_simulation_phase_callback()

phase_cb_mask sc_core::sc_object::register_simulation_phase_callback ( phase_cb_mask  )
protectedinherited

◆ remove_all_attributes()

void sc_core::sc_object::remove_all_attributes ( )
inherited

◆ remove_attribute()

sc_attr_base* sc_core::sc_object::remove_attribute ( const std::string &  name_)
inherited

◆ remove_child_event()

virtual bool sc_core::sc_object::remove_child_event ( sc_event event_p)
protectedvirtualinherited

◆ remove_child_object()

virtual bool sc_core::sc_object::remove_child_object ( sc_object object_p)
protectedvirtualinherited

Reimplemented in sc_core::sc_process_b.

◆ report_error()

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

◆ simcontext()

sc_simcontext* sc_core::sc_object::simcontext ( ) const
inlineinherited

Definition at line 91 of file sc_object.h.

◆ start_of_simulation()

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

◆ trace()

virtual void sc_core::sc_object::trace ( sc_trace_file tf) const
virtualinherited

◆ unregister_simulation_phase_callback()

phase_cb_mask sc_core::sc_object::unregister_simulation_phase_callback ( phase_cb_mask  )
protectedinherited

Friends And Related Function Documentation

◆ sc_export_registry

friend class sc_export_registry
friend

Definition at line 59 of file sc_export.h.


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