39 class sc_phase_callback_registry;
43 class sc_trace_file_base;
72 {
return m_name.c_str(); }
76 virtual void print(::std::ostream& os=::std::cout )
const;
79 virtual void dump(::std::ostream& os=::std::cout )
const;
83 virtual const char*
kind()
const {
return "sc_object"; }
109 {
return m_child_events; }
112 {
return m_child_objects; }
136 class hierarchy_scope;
139 void do_simulation_phase_callback();
140 virtual void simulation_phase_callback();
143 virtual void orphan_child_events();
144 virtual void orphan_child_objects();
145 void sc_object_init(
const char* nm);
151 std::vector<sc_event*> m_child_events;
152 std::vector<sc_object*> m_child_objects;
246 #endif // SC_OBJECT_H
int num_attributes() const
const char * basename() const
virtual void add_child_object(sc_object *object_p)
virtual const std::vector< sc_object * > & get_child_objects() const
virtual void trace(sc_trace_file *tf) const
virtual void print(::std::ostream &os=::std::cout) const
sc_object * sc_get_parent(const sc_object *obj_p)
const char * name() const
sc_simcontext * simcontext() const
virtual const char * kind() const
virtual const std::vector< sc_event * > & get_child_events() const
sc_object & operator=(const sc_object &)
User initiated dynamic process support.
phase_cb_mask register_simulation_phase_callback(phase_cb_mask)
sc_attr_base * get_attribute(const std::string &name_)
Class that manages the ready-to-run queues.
sc_attr_cltn & attr_cltn()
virtual void add_child_event(sc_event *event_p)
virtual void dump(::std::ostream &os=::std::cout) const
bool sc_enable_name_checking
sc_attr_base * remove_attribute(const std::string &name_)
Base class for all structural entities.
friend struct sc_invoke_method
void remove_all_attributes()
friend class sc_module_dynalloc_list
sc_object * get_parent_object() const
Base class for all hierarchical channels.
sc_object * get_parent() const
virtual bool remove_child_event(sc_event *event_p)
const char SC_HIERARCHY_CHAR
phase_cb_mask unregister_simulation_phase_callback(phase_cb_mask)
virtual bool remove_child_object(sc_object *object_p)
Abstract base class of all SystemC `simulation' objects.
bool add_attribute(sc_attr_base &)