#include <sysc/kernel/sc_object.h>


Public Member Functions | |
| const char * | name () const |
| return full name of sc_object | |
| const char * | basename () const |
| return base name of sc_object (last part) | |
| virtual void | print (::std::ostream &os=::std::cout) const |
| print object | |
| virtual void | dump (::std::ostream &os=::std::cout) const |
| dump() is more detailed than print() | |
| virtual void | trace (sc_trace_file *tf) const |
| virtual const char * | kind () const |
| sc_simcontext * | simcontext () const |
| bool | add_attribute (sc_attr_base &) |
| add attribute | |
| sc_attr_base * | get_attribute (const std::string &name_) |
| get attribute by name | |
| const sc_attr_base * | get_attribute (const std::string &name_) const |
| get attribute by name | |
| sc_attr_base * | remove_attribute (const std::string &name_) |
| remove attribute by name | |
| void | remove_all_attributes () |
| remove all attributes | |
| int | num_attributes () const |
| get the number of attributes | |
| sc_attr_cltn & | attr_cltn () |
| get the attribute collection | |
| const sc_attr_cltn & | attr_cltn () const |
| get the attribute collection | |
| virtual const std::vector < sc_object * > & | get_child_objects () const |
| return child objects | |
| sc_object * | get_parent () const |
| return parent object | |
| sc_object * | get_parent_object () const |
| return parent object | |
Protected Member Functions | |
| sc_object () | |
| sc_object (const char *nm) | |
| virtual | ~sc_object () |
Friends | |
| class | sc_object_manager |
| class | sc_module_dynalloc_list |
| class | sc_process_b |
Definition at line 71 of file sc_object.h.
| sc_core::sc_object::sc_object | ( | ) | [protected] |
Definition at line 227 of file sc_object.cpp.
| sc_core::sc_object::sc_object | ( | const char * | nm | ) | [protected] |
Definition at line 238 of file sc_object.cpp.
| sc_core::sc_object::~sc_object | ( | ) | [protected, virtual] |
Definition at line 279 of file sc_object.cpp.
| const char* sc_core::sc_object::name | ( | ) | const [inline] |
| const char * sc_core::sc_object::basename | ( | ) | const |
| void sc_core::sc_object::print | ( | ::std::ostream & | os = ::std::cout |
) | const [virtual] |
print object
Reimplemented in sc_core::sc_fifo< T >, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, and sc_core::sc_signal< sc_dt::sc_lv< W > >.
Definition at line 102 of file sc_object.cpp.
| void sc_core::sc_object::dump | ( | ::std::ostream & | os = ::std::cout |
) | const [virtual] |
dump() is more detailed than print()
Reimplemented in sc_core::sc_fifo< T >, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, and sc_core::sc_signal< sc_dt::sc_lv< W > >.
Definition at line 108 of file sc_object.cpp.
| void sc_core::sc_object::trace | ( | sc_trace_file * | tf | ) | const [virtual] |
Reimplemented in sc_core::sc_fifo< T >, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, and sc_core::sc_signal< sc_dt::sc_lv< W > >.
Definition at line 302 of file sc_object.cpp.
| virtual const char* sc_core::sc_object::kind | ( | ) | const [inline, virtual] |
Reimplemented in sc_core::sc_buffer< T >, sc_core::sc_clock, sc_core::sc_event_queue, sc_core::sc_export< IF >, sc_core::sc_fifo< T >, sc_core::sc_fifo_in< T >, sc_core::sc_fifo_out< T >, sc_core::sc_mutex, sc_core::sc_port_base, sc_core::sc_port< IF, N, P >, sc_core::sc_prim_channel, sc_core::sc_semaphore, sc_core::sc_signal< T >, sc_core::sc_core::sc_signal< bool >, sc_core::sc_core::sc_signal< sc_dt::sc_logic >, sc_core::sc_in< T >, sc_core::sc_core::sc_in< bool >, sc_core::sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_inout< T >, sc_core::sc_core::sc_inout< bool >, sc_core::sc_core::sc_inout< sc_dt::sc_logic >, sc_core::sc_out< T >, sc_core::sc_signal_resolved, sc_core::sc_in_resolved, sc_core::sc_inout_resolved, sc_core::sc_out_resolved, sc_core::sc_signal_rv< W >, sc_core::sc_in_rv< W >, sc_core::sc_inout_rv< W >, sc_core::sc_out_rv< W >, sc_core::sc_cthread_process, sc_core::sc_method_process, sc_core::sc_module, sc_core::sc_thread_process, sc_core::sc_port< sc_core::sc_signal_inout_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_signal_inout_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_signal_in_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_core::sc_signal_in_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_signal_in_if< sc_dt::sc_lv< W > >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_fifo_out_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_signal_inout_if< sc_dt::sc_lv< W > >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_fifo_in_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_core::sc_core::sc_signal_in_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_signal< sc_dt::sc_lv< W > >, sc_core::sc_in< sc_dt::sc_lv< W > >, and sc_core::sc_inout< sc_dt::sc_lv< W > >.
Definition at line 93 of file sc_object.h.
| sc_simcontext* sc_core::sc_object::simcontext | ( | ) | const [inline] |
Definition at line 95 of file sc_object.h.
| bool sc_core::sc_object::add_attribute | ( | sc_attr_base & | attribute_ | ) |
| sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) |
| const sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) | const |
| sc_attr_base * sc_core::sc_object::remove_attribute | ( | const std::string & | name_ | ) |
| void sc_core::sc_object::remove_all_attributes | ( | ) |
| int sc_core::sc_object::num_attributes | ( | ) | const |
| sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) |
| const sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | const |
| virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects | ( | ) | const [inline, virtual] |
return child objects
Reimplemented in sc_core::sc_module, and sc_core::sc_process_b.
Definition at line 121 of file sc_object.h.
| sc_object* sc_core::sc_object::get_parent | ( | ) | const [inline] |
| sc_object* sc_core::sc_object::get_parent_object | ( | ) | const [inline] |
friend class sc_object_manager [friend] |
Definition at line 73 of file sc_object.h.
friend class sc_module_dynalloc_list [friend] |
Definition at line 74 of file sc_object.h.
friend class sc_process_b [friend] |
1.5.5