30#ifndef SC_EVENT_FINDER
31#define SC_EVENT_FINDER
56 ,
const sc_event& (IF::*ef_p)()
const );
72 void report_error(
const char*
id,
const char* add_msg = 0 )
const;
102 const sc_event& (IF::*event_method_) ()
const )
115 const sc_event& (IF::*m_event_method) ()
const;
134 ,
const sc_event& (IF::*ef_p)()
const )
149 const IF* iface = ( if_p ) ?
dynamic_cast<const IF*
>( if_p ) :
150 dynamic_cast<const IF*
>( port().get_interface() );
155 return (
const_cast<IF*
>( iface )->*m_event_method) ();
const char SC_ID_FIND_EVENT_[]
virtual ~sc_event_finder()
void report_error(const char *id, const char *add_msg=0) const
const sc_port_base & port() const
static sc_event_finder & cached_create(sc_event_finder *&cache_p, const sc_port_base &port_, const sc_event &(IF::*ef_p)() const)
virtual const sc_event & find_event(sc_interface *if_p=0) const =0
sc_event_finder(const sc_port_base &)
sc_event_finder_t(const sc_port_base &port_, const sc_event &(IF::*event_method_)() const)
virtual ~sc_event_finder_t()
virtual const sc_event & find_event(sc_interface *if_p=0) const
static const sc_event & none()