gem5 v24.0.0.0
|
#include <object.hh>
Static Public Member Functions | |
static Object * | getFromScObject (sc_core::sc_object *sc_obj) |
Private Attributes | |
sc_core::sc_object * | _sc_obj |
std::string | _basename |
std::string | _name |
Objects | children |
Events | events |
sc_core::sc_object * | parent |
sc_core::sc_attr_cltn | cltn |
sc_gem5::Object::Object | ( | sc_core::sc_object * | _sc_obj | ) |
sc_gem5::Object::Object | ( | sc_core::sc_object * | _sc_obj, |
const char * | obj_name ) |
Definition at line 88 of file object.cc.
References _basename, sc_core::sc_object::_gem5_object, _name, _sc_obj, sc_gem5::allObjects, sc_core::sc_object::basename(), children, sc_core::sc_object::get_parent_object(), sc_gem5::newModule(), parent, sc_gem5::pickParentObj(), sc_gem5::pickUniqueName(), sc_core::sc_gen_unique_name(), sc_core::SC_ID_INSTANCE_EXISTS_, SC_REPORT_WARNING, and sc_gem5::topLevelObjects.
sc_gem5::Object::Object | ( | sc_core::sc_object * | _sc_obj, |
const Object & | arg ) |
|
virtual |
Definition at line 138 of file object.cc.
References sc_core::sc_object::_gem5_object, _name, sc_gem5::allObjects, children, sc_gem5::Event::clearParent(), events, sc_gem5::Event::getFromScEvent(), parent, and sc_gem5::topLevelObjects.
bool sc_gem5::Object::add_attribute | ( | sc_core::sc_attr_base & | attr | ) |
Definition at line 200 of file object.cc.
References cltn, and sc_core::sc_attr_cltn::push_back().
Referenced by sc_core::sc_object::add_attribute().
EventsIt sc_gem5::Object::addChildEvent | ( | sc_core::sc_event * | e | ) |
sc_core::sc_attr_cltn & sc_gem5::Object::attr_cltn | ( | ) |
Definition at line 230 of file object.cc.
References cltn.
Referenced by sc_core::sc_object::attr_cltn(), and sc_core::sc_object::attr_cltn().
const sc_core::sc_attr_cltn & sc_gem5::Object::attr_cltn | ( | ) | const |
const char * sc_gem5::Object::basename | ( | ) | const |
Definition at line 164 of file object.cc.
References _basename.
Referenced by sc_core::sc_object::basename().
void sc_gem5::Object::delChildEvent | ( | sc_core::sc_event * | e | ) |
Definition at line 254 of file object.cc.
References events.
Referenced by sc_gem5::Event::clearParent(), and sc_gem5::Event::~Event().
void sc_gem5::Object::dump | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 176 of file object.cc.
References _sc_obj, sc_core::sc_object::kind(), and name().
Referenced by sc_core::sc_object::dump().
sc_core::sc_attr_base * sc_gem5::Object::get_attribute | ( | const std::string & | attr | ) |
Definition at line 206 of file object.cc.
References cltn.
Referenced by sc_core::sc_object::get_attribute().
const std::vector< sc_core::sc_event * > & sc_gem5::Object::get_child_events | ( | ) | const |
Definition at line 189 of file object.cc.
References events.
Referenced by sc_core::sc_module::get_child_events(), and sc_core::sc_object::get_child_events().
const std::vector< sc_core::sc_object * > & sc_gem5::Object::get_child_objects | ( | ) | const |
Definition at line 183 of file object.cc.
References children.
Referenced by sc_core::sc_module::get_child_objects(), and sc_core::sc_object::get_child_objects().
sc_core::sc_object * sc_gem5::Object::get_parent_object | ( | ) | const |
Definition at line 194 of file object.cc.
References parent.
Referenced by sc_core::sc_object::get_parent_object().
|
inlinestatic |
Definition at line 81 of file object.hh.
References sc_core::sc_object::_gem5_object, and sc_obj().
Referenced by sc_gem5::Event::clearParent(), sc_gem5::pickUniqueName(), and sc_gem5::Event::~Event().
const char * sc_gem5::Object::name | ( | ) | const |
int sc_gem5::Object::num_attributes | ( | ) | const |
Definition at line 224 of file object.cc.
References cltn, and sc_core::sc_attr_cltn::size().
Referenced by sc_core::sc_object::num_attributes().
std::string sc_gem5::Object::pickUniqueName | ( | std::string | name | ) |
Definition at line 263 of file object.cc.
References children, events, and sc_core::sc_gen_unique_name().
Referenced by sc_gem5::pickUniqueName().
void sc_gem5::Object::print | ( | std::ostream & | out = std::cout | ) | const |
Definition at line 170 of file object.cc.
References name().
Referenced by sc_core::sc_object::print().
void sc_gem5::Object::remove_all_attributes | ( | ) |
Definition at line 218 of file object.cc.
References cltn, and sc_core::sc_attr_cltn::remove_all().
Referenced by sc_core::sc_object::remove_all_attributes().
sc_core::sc_attr_base * sc_gem5::Object::remove_attribute | ( | const std::string & | attr | ) |
Definition at line 212 of file object.cc.
References cltn, and sc_core::sc_attr_cltn::remove().
Referenced by sc_core::sc_object::remove_attribute().
|
inline |
Definition at line 86 of file object.hh.
References _sc_obj.
Referenced by sc_gem5::Module::finish(), and getFromScObject().
sc_core::sc_simcontext * sc_gem5::Object::simcontext | ( | ) | const |
Definition at line 242 of file object.cc.
References sc_core::sc_get_curr_simcontext().
Referenced by sc_core::sc_object::simcontext().
|
private |
Definition at line 96 of file object.hh.
Referenced by basename(), and Object().
|
private |
|
private |
|
private |
Definition at line 99 of file object.hh.
Referenced by get_child_objects(), Object(), pickUniqueName(), and ~Object().
|
private |
Definition at line 103 of file object.hh.
Referenced by add_attribute(), attr_cltn(), attr_cltn(), get_attribute(), num_attributes(), remove_all_attributes(), and remove_attribute().
|
private |
Definition at line 100 of file object.hh.
Referenced by addChildEvent(), delChildEvent(), get_child_events(), pickUniqueName(), and ~Object().
|
private |
Definition at line 101 of file object.hh.
Referenced by get_parent_object(), Object(), and ~Object().