Go to the documentation of this file.
28 #ifndef __SYSTEMC_EXT_CORE_SC_EVENT_HH__
29 #define __SYSTEMC_EXT_CORE_SC_EVENT_HH__
36 #include "../channel/messages.hh"
37 #include "../utils/sc_report_handler.hh"
45 class DynamicSensitivityEventAndList;
46 class DynamicSensitivityEventOrList;
47 class InternalScEvent;
55 class sc_event_and_expr;
56 class 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)();
285 #endif //__SYSTEMC_EXT_CORE_SC_INTERFACE_HH__
sc_event_and_list & operator&=(const sc_event &)
sc_object * get_parent_object() const
const char SC_ID_FIND_EVENT_[]
sc_event_or_expr operator|(sc_event_or_expr expr, sc_event const &e)
sc_event_or_list & operator|=(const sc_event &)
bool in_hierarchy() const
const sc_port_b< IF > * _port
const char * basename() const
void insert(sc_event const &e) const
sc_event_or_list & operator=(const sc_event_or_list &)
sc_event_or_expr operator|(const sc_event &) const
const FlagsType none
Nothing extra to print.
sc_event * sc_find_event(const char *name)
void insert(sc_event const &e)
void swap(sc_event_and_list &)
sc_event_and_expr operator&(const sc_event &) const
sc_event_and_list & operator=(const sc_event_and_list &)
void insert(sc_event const &e) const
sc_event_and_expr operator&(sc_event_and_expr expr, sc_event const &e)
#define SC_REPORT_ERROR(msg_type, msg)
virtual ~sc_event_finder_t()
const sc_event &(IF::* _method)() const
const char * name() const
sc_event_or_expr operator|(const sc_event &) const
const sc_event & find_event(sc_interface *if_p=NULL) const override
void insert(sc_event const &e)
virtual const sc_event & find_event(sc_interface *if_p=NULL) const =0
const sc_port_base * port() const override
std::set< const sc_event * > events
sc_event_finder_t(const sc_port_base &p, const sc_event &(IF::*_method)() const)
::sc_gem5::Event * _gem5_event
std::set< const sc_event * > events
virtual const sc_port_base * port() const =0
virtual ~sc_event_finder()
sc_event & operator=(const sc_event &)
void swap(sc_event_or_list &)
sc_event(const sc_event &)
const std::vector< sc_event * > & sc_get_top_level_events()
sc_event_and_expr operator&(const sc_event &) const
Generated on Wed Sep 30 2020 14:02:15 for gem5 by doxygen 1.8.17