#include <sysc/communication/sc_export.h>


Public Types | |
| typedef sc_export_base | this_type |
Public Member Functions | |
| virtual sc_interface * | get_interface ()=0 |
| virtual const sc_interface * | get_interface () const =0 |
| 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_export_base () | |
| sc_export_base (const char *name) | |
| virtual | ~sc_export_base () |
| virtual void | before_end_of_elaboration () |
| virtual void | end_of_elaboration () |
| virtual void | start_of_simulation () |
| virtual void | end_of_simulation () |
| virtual const char * | if_typename () const =0 |
Friends | |
| class | sc_export_registry |
Definition at line 61 of file sc_export.h.
Definition at line 68 of file sc_export.h.
| sc_core::sc_export_base::sc_export_base | ( | ) | [protected] |
Definition at line 60 of file sc_export.cpp.
| sc_core::sc_export_base::sc_export_base | ( | const char * | name | ) | [protected] |
Definition at line 65 of file sc_export.cpp.
| sc_core::sc_export_base::~sc_export_base | ( | ) | [protected, virtual] |
Definition at line 70 of file sc_export.cpp.
| virtual sc_interface* sc_core::sc_export_base::get_interface | ( | ) | [pure virtual] |
Implemented in sc_core::sc_export< IF >.
| virtual const sc_interface* sc_core::sc_export_base::get_interface | ( | ) | const [pure virtual] |
Implemented in sc_core::sc_export< IF >.
| void sc_core::sc_export_base::before_end_of_elaboration | ( | ) | [protected, virtual] |
Definition at line 78 of file sc_export.cpp.
| void sc_core::sc_export_base::end_of_elaboration | ( | ) | [protected, virtual] |
Definition at line 85 of file sc_export.cpp.
| void sc_core::sc_export_base::start_of_simulation | ( | ) | [protected, virtual] |
Definition at line 91 of file sc_export.cpp.
| void sc_core::sc_export_base::end_of_simulation | ( | ) | [protected, virtual] |
Definition at line 97 of file sc_export.cpp.
| virtual const char* sc_core::sc_export_base::if_typename | ( | ) | const [protected, pure virtual] |
Implemented in sc_core::sc_export< IF >.
| const char* sc_core::sc_object::name | ( | ) | const [inline, inherited] |
| const char * sc_core::sc_object::basename | ( | ) | const [inherited] |
| void sc_core::sc_object::print | ( | ::std::ostream & | os = ::std::cout |
) | const [virtual, inherited] |
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, inherited] |
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, inherited] |
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, inherited] |
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, inherited] |
Definition at line 95 of file sc_object.h.
| bool sc_core::sc_object::add_attribute | ( | sc_attr_base & | attribute_ | ) | [inherited] |
| sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) | [inherited] |
| const sc_attr_base * sc_core::sc_object::get_attribute | ( | const std::string & | name_ | ) | const [inherited] |
| sc_attr_base * sc_core::sc_object::remove_attribute | ( | const std::string & | name_ | ) | [inherited] |
| void sc_core::sc_object::remove_all_attributes | ( | ) | [inherited] |
| int sc_core::sc_object::num_attributes | ( | ) | const [inherited] |
| sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | [inherited] |
| const sc_attr_cltn & sc_core::sc_object::attr_cltn | ( | ) | const [inherited] |
| virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects | ( | ) | const [inline, virtual, inherited] |
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, inherited] |
| sc_object* sc_core::sc_object::get_parent_object | ( | ) | const [inline, inherited] |
friend class sc_export_registry [friend] |
Definition at line 63 of file sc_export.h.
1.5.5