20 #ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_HH__ 21 #define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_PORTS_EVENT_FINDER_HH__ 25 #include "../interfaces/tag.hh" 30 template <
class IF,
class T>
55 template <
class IF,
class T>
59 const IF *iface = if_p ?
dynamic_cast<const IF *
>(if_p) :
61 if (iface ==
nullptr) {
62 std::ostringstream out;
63 out <<
"port is not bound: port '" << this->
port()->
name() <<
64 "' (" << this->
port()->
kind() <<
")";
tlm_event_finder_t< IF, T > & operator=(const tlm_event_finder_t< IF, T > &)
sc_event_finder_t(const sc_port_base &p, const sc_event &(IF::*_method)() const)
const char * kind() const
const char * name() const
const sc_port_base * port() const override
virtual sc_interface * _gem5Interface(int n) const =0
const FlagsType none
Nothing extra to print.
const sc_core::sc_event &(IF::* m_event_method)(tlm_tag< T > *) const
tlm_event_finder_t(const sc_core::sc_port_base &port_, const sc_core::sc_event &(IF::*event_method_)(tlm_tag< T > *) const)
#define SC_REPORT_ERROR(msg_type, msg)
virtual const sc_core::sc_event & find_event(sc_core::sc_interface *if_p=nullptr) const
virtual ~tlm_event_finder_t()
const char SC_ID_FIND_EVENT_[]