28#ifndef __SYSTEMC_EXT_CORE_SC_EVENT_HH__
29#define __SYSTEMC_EXT_CORE_SC_EVENT_HH__
45class DynamicSensitivityEventAndList;
46class DynamicSensitivityEventOrList;
55class sc_event_and_expr;
56class sc_event_or_expr;
176 const char *
name()
const;
201 explicit sc_event(
bool,
const char *);
208 friend class ::sc_gem5::Event;
271 const IF *iface = if_p ?
dynamic_cast<const IF *
>(if_p) :
272 dynamic_cast<const IF *
>(_port->get_interface());
274 std::ostringstream
ss;
275 ss <<
"port is not bound: port '" << _port->name() <<
"' (" <<
276 _port->kind() <<
")";
280 return (
const_cast<IF *
>(iface)->*_method)();
void insert(sc_event const &e) const
void swap(sc_event_and_list &)
void insert(sc_event const &e)
sc_event_and_list & operator=(const sc_event_and_list &)
sc_event_and_list & operator&=(const sc_event &)
std::set< const sc_event * > events
sc_event_and_expr operator&(const sc_event &) const
sc_event_finder_t(const sc_port_base &p, const sc_event &(IF::*_method)() const)
virtual ~sc_event_finder_t()
const sc_port_base * port() const override
const sc_event &(IF::* _method)() const
const sc_event & find_event(sc_interface *if_p=NULL) const override
const sc_port_b< IF > * _port
virtual ~sc_event_finder()
virtual const sc_event & find_event(sc_interface *if_p=NULL) const =0
virtual const sc_port_base * port() const =0
void insert(sc_event const &e) const
sc_event_or_expr operator|(const sc_event &) const
sc_event_or_list & operator|=(const sc_event &)
void insert(sc_event const &e)
std::set< const sc_event * > events
sc_event_or_list & operator=(const sc_event_or_list &)
void swap(sc_event_or_list &)
const char * basename() const
const char * name() const
bool in_hierarchy() const
sc_object * get_parent_object() const
sc_event(const sc_event &)
sc_event & operator=(const sc_event &)
sc_event_or_expr operator|(const sc_event &) const
::sc_gem5::Event * _gem5_event
sc_event_and_expr operator&(const sc_event &) const
sc_event_or_expr operator|(sc_event_or_expr expr, sc_event const &e)
const std::vector< sc_event * > & sc_get_top_level_events()
sc_event * sc_find_event(const char *name)
sc_event_and_expr operator&(sc_event_and_expr expr, sc_event const &e)
#define SC_REPORT_ERROR(msg_type, msg)