28 #ifndef __SYSTEMC_EXT_CORE_SC_EXPORT_HH__ 29 #define __SYSTEMC_EXT_CORE_SC_EXPORT_HH__ 31 #include "../channel/messages.hh" 32 #include "../utils/sc_report_handler.hh" 71 virtual const char *
kind()
const override {
return "sc_export"; }
73 void operator () (IF &
i) { bind(i); }
89 operator const IF & ()
const {
return *interface; }
115 std::string msg =
"export not bound: export '";
116 msg = msg +
name() +
"' (" +
kind() +
")";
133 #endif //__SYSTEMC_EXT_CORE_SC_EXPORT_HH__
void start_of_simulation() override
sc_export_base(const char *n)
const char * sc_gen_unique_name(const char *seed)
virtual sc_interface * get_iterface()=0
sc_object & operator=(const sc_object &)
const char * name() const
virtual void before_end_of_elaboration()=0
virtual void end_of_elaboration()=0
virtual void end_of_simulation()=0
void before_end_of_elaboration() override
virtual const char * kind() const
virtual const char * kind() const override
sc_interface * get_iterface() override
const sc_interface * get_interface() const override
const char SC_ID_SC_EXPORT_ALREADY_BOUND_[]
void end_of_elaboration() override
virtual const sc_interface * get_interface() const =0
#define SC_REPORT_ERROR(msg_type, msg)
void end_of_simulation() override
const char SC_ID_SC_EXPORT_HAS_NO_INTERFACE_[]
virtual void start_of_simulation()=0