SystemC 3.0.0
Accellera SystemC proof-of-concept library
|
#include <sysc/kernel/sc_object.h>
Public Member Functions | |
const char * | name () const |
const char * | basename () const |
virtual void | print (::std::ostream &os=::std::cout) const |
virtual void | dump (::std::ostream &os=::std::cout) const |
virtual void | trace (sc_trace_file *tf) const |
virtual const char * | kind () const |
sc_simcontext * | simcontext () const |
bool | add_attribute (sc_attr_base &) |
sc_attr_base * | get_attribute (const std::string &name_) |
const sc_attr_base * | get_attribute (const std::string &name_) const |
sc_attr_base * | remove_attribute (const std::string &name_) |
void | remove_all_attributes () |
int | num_attributes () const |
sc_attr_cltn & | attr_cltn () |
const sc_attr_cltn & | attr_cltn () const |
virtual const std::vector< sc_event * > & | get_child_events () const |
virtual const std::vector< sc_object * > & | get_child_objects () const |
sc_object * | get_parent () const |
sc_object * | get_parent_object () const |
virtual | ~sc_object () |
Protected Member Functions | |
sc_object () | |
sc_object (const char *nm) | |
sc_object (const sc_object &) | |
sc_object & | operator= (const sc_object &) |
virtual hierarchy_scope | get_hierarchy_scope () |
Friends | |
class | sc_event |
class | sc_invoke_method |
class | sc_module |
class | sc_object_host |
class | sc_object_manager |
class | sc_phase_callback_registry |
class | sc_process_b |
class | sc_runnable |
class | sc_simcontext |
class | sc_trace_file_base |
Definition at line 106 of file sc_object.h.
|
virtual |
|
protected |
|
protected |
|
protected |
bool sc_core::sc_object::add_attribute | ( | sc_attr_base & | ) |
sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) |
const sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | const |
const char * sc_core::sc_object::basename | ( | ) | const |
|
virtual |
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 |
|
virtual |
Reimplemented in sc_core::sc_object_host.
|
virtual |
Reimplemented in sc_core::sc_object_host.
|
protectedvirtual |
Reimplemented in sc_core::sc_object_host.
sc_object * sc_core::sc_object::get_parent | ( | ) | const |
|
inline |
Definition at line 255 of file sc_object.h.
|
inlinevirtual |
Reimplemented in sc_core::sc_buffer< T, POL >, 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_port< sc_fifo_in_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_fifo_out_if< T >, 0, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_in_if< sc_dt::sc_lv< W > >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< T >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< bool >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_logic >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_port< sc_signal_inout_if< sc_dt::sc_lv< W > >, 1, SC_ONE_OR_MORE_BOUND >, sc_core::sc_prim_channel, sc_core::sc_semaphore, sc_core::sc_signal_channel, sc_core::sc_signal_t< T, POL >, sc_core::sc_signal_t< bool, POL >, sc_core::sc_signal_t< T, SC_DEFAULT_WRITER_POLICY >, sc_core::sc_signal_t< sc_dt::sc_logic, POL >, sc_core::sc_signal_t< sc_dt::sc_lv< W >, POL >, sc_core::sc_in< T >, sc_core::sc_in< sc_dt::sc_lv< W > >, sc_core::sc_in< bool >, sc_core::sc_in< sc_dt::sc_logic >, sc_core::sc_inout< T >, sc_core::sc_inout< sc_dt::sc_lv< W > >, sc_core::sc_inout< bool >, sc_core::sc_inout< sc_dt::sc_logic >, sc_core::sc_out< T >, sc_core::sc_out< bool >, 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_stub< T >, sc_core::sc_cthread_process, sc_core::sc_method_process, sc_core::sc_module, sc_core::sc_thread_process, and sc_core::sc_vector_base.
Definition at line 134 of file sc_object.h.
|
inline |
Definition at line 122 of file sc_object.h.
int sc_core::sc_object::num_attributes | ( | ) | const |
Definition at line 191 of file sc_object.h.
|
virtual |
void sc_core::sc_object::remove_all_attributes | ( | ) |
sc_attr_base * sc_core::sc_object::remove_attribute | ( | const std::string & | name_ | ) |
|
inline |
Definition at line 136 of file sc_object.h.
|
virtual |
|
friend |
Definition at line 108 of file sc_object.h.
|
friend |
Definition at line 109 of file sc_object.h.
|
friend |
Definition at line 110 of file sc_object.h.
|
friend |
Definition at line 111 of file sc_object.h.
|
friend |
Definition at line 112 of file sc_object.h.
|
friend |
Definition at line 113 of file sc_object.h.
|
friend |
Definition at line 114 of file sc_object.h.
|
friend |
Definition at line 115 of file sc_object.h.
|
friend |
Definition at line 116 of file sc_object.h.
|
friend |
Definition at line 117 of file sc_object.h.