36 #if ! defined( SC_DISABLE_VIRTUAL_BIND )
37 # define SC_VIRTUAL_ virtual
92 void report_error(
const char*
id,
const char* add_msg = 0)
const;
96 void construction_done();
97 void elaboration_done();
98 void start_simulation();
99 void simulation_done();
170 operator const IF&()
const
171 {
return *
const_cast<this_type*
>(
this); }
189 this->
bind(interface_);
193 virtual const char*
kind()
const {
return "sc_export"; }
197 return typeid( IF ).
name();
202 this_type& operator = (
const this_type& );
225 {
return m_export_vec.size(); }
236 bool construction_done();
239 void elaboration_done();
242 void start_simulation();
245 void simulation_done();
249 int m_construction_done;
250 std::vector<sc_export_base*> m_export_vec;
const char * name() const
virtual void before_end_of_elaboration()
virtual const char * kind() const
sc_export(const char *name_)
virtual sc_interface * get_interface()=0
const IF * operator->() const
const char * if_typename() const
void report_error(const char *id, const char *add_msg=0) const
virtual const char * if_typename() const =0
virtual void end_of_elaboration()
virtual sc_interface * get_interface()
virtual void start_of_simulation()
void operator()(IF &interface_)
virtual ~sc_export_base()
#define SC_REPORT_ERROR(msg_type, msg)
SC_VIRTUAL_ void bind(IF &interface_)
virtual const sc_interface * get_interface() const
void insert(sc_export_base *)
virtual void end_of_simulation()