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

#include <sysc/kernel/sc_object_manager.h>

Classes

struct  table_entry
 

Public Types

typedef std::map< std::string, table_entryinstance_table_t
 
typedef std::vector< sc_object_host * > object_vector_t
 

Public Member Functions

 sc_object_manager ()
 
 ~sc_object_manager ()
 
bool name_exists (const std::string &name)
 
const char * get_name (const std::string &name)
 
sc_eventfind_event (const char *name)
 
sc_objectfind_object (const char *name)
 
sc_objectfirst_object ()
 
sc_objectnext_object ()
 
void hierarchy_push (sc_object_host *mdl)
 
sc_object_hosthierarchy_pop ()
 
sc_object_hosthierarchy_curr ()
 
int hierarchy_size ()
 
void push_module_name (sc_module_name *mod_name)
 
sc_module_namepop_module_name ()
 
sc_module_nametop_of_module_name_stack () const
 
const char * top_of_module_name_stack_name () const
 

Protected Types

enum  sc_name_origin { SC_NAME_NONE , SC_NAME_OBJECT , SC_NAME_EVENT , SC_NAME_EXTERNAL }
 

Friends

class sc_event
 
class sc_object
 
class sc_simcontext
 

Detailed Description

Definition at line 49 of file sc_object_manager.h.

Member Typedef Documentation

◆ instance_table_t

Definition at line 73 of file sc_object_manager.h.

◆ object_vector_t

Definition at line 74 of file sc_object_manager.h.

Member Enumeration Documentation

◆ sc_name_origin

Enumerator
SC_NAME_NONE 
SC_NAME_OBJECT 
SC_NAME_EVENT 
SC_NAME_EXTERNAL 

Definition at line 56 of file sc_object_manager.h.

Constructor & Destructor Documentation

◆ sc_object_manager()

sc_core::sc_object_manager::sc_object_manager ( )

◆ ~sc_object_manager()

sc_core::sc_object_manager::~sc_object_manager ( )

Member Function Documentation

◆ find_event()

sc_event * sc_core::sc_object_manager::find_event ( const char *  name)

◆ find_object()

sc_object * sc_core::sc_object_manager::find_object ( const char *  name)

◆ first_object()

sc_object * sc_core::sc_object_manager::first_object ( )

◆ get_name()

const char * sc_core::sc_object_manager::get_name ( const std::string &  name)

◆ hierarchy_curr()

sc_object_host * sc_core::sc_object_manager::hierarchy_curr ( )

◆ hierarchy_pop()

sc_object_host * sc_core::sc_object_manager::hierarchy_pop ( )

◆ hierarchy_push()

void sc_core::sc_object_manager::hierarchy_push ( sc_object_host mdl)

◆ hierarchy_size()

int sc_core::sc_object_manager::hierarchy_size ( )

◆ name_exists()

bool sc_core::sc_object_manager::name_exists ( const std::string &  name)

◆ next_object()

sc_object * sc_core::sc_object_manager::next_object ( )

◆ pop_module_name()

sc_module_name * sc_core::sc_object_manager::pop_module_name ( )

◆ push_module_name()

void sc_core::sc_object_manager::push_module_name ( sc_module_name mod_name)

◆ top_of_module_name_stack()

sc_module_name * sc_core::sc_object_manager::top_of_module_name_stack ( ) const

◆ top_of_module_name_stack_name()

const char * sc_core::sc_object_manager::top_of_module_name_stack_name ( ) const

Friends And Related Function Documentation

◆ sc_event

friend class sc_event
friend

Definition at line 51 of file sc_object_manager.h.

◆ sc_object

friend class sc_object
friend

Definition at line 52 of file sc_object_manager.h.

◆ sc_simcontext

friend class sc_simcontext
friend

Definition at line 53 of file sc_object_manager.h.


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