SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_object_manager Class Reference

Manager of objects. More...

#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 * > 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 *mdl)
 
sc_objecthierarchy_pop ()
 
sc_objecthierarchy_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 ()
 

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

Manager of objects.

Definition at line 53 of file sc_object_manager.h.

Member Typedef Documentation

◆ instance_table_t

Definition at line 77 of file sc_object_manager.h.

◆ object_vector_t

Definition at line 78 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 60 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* sc_core::sc_object_manager::hierarchy_curr ( )

◆ hierarchy_pop()

sc_object* sc_core::sc_object_manager::hierarchy_pop ( )

◆ hierarchy_push()

void sc_core::sc_object_manager::hierarchy_push ( sc_object 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 ( )

Friends And Related Function Documentation

◆ sc_event

friend class sc_event
friend

Definition at line 55 of file sc_object_manager.h.

◆ sc_object

friend class sc_object
friend

Definition at line 56 of file sc_object_manager.h.

◆ sc_simcontext

friend class sc_simcontext
friend

Definition at line 57 of file sc_object_manager.h.


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