30 #ifndef __SYSTEMC_CORE_SENSITIVITY_HH__ 31 #define __SYSTEMC_CORE_SENSITIVITY_HH__ 45 class sc_event_and_list;
46 class sc_event_or_list;
47 class sc_event_finder;
72 virtual void addToEvent(const ::sc_core::sc_event *
e) = 0;
73 virtual void delFromEvent(const ::sc_core::sc_event *e) = 0;
76 virtual void clear() = 0;
79 virtual bool notifyWork(
Event *e);
80 bool notify(
Event *e);
103 void addToEvent(const ::sc_core::sc_event *
e)
override;
104 void delFromEvent(const ::sc_core::sc_event *e)
override;
118 void addToEvent(const ::sc_core::sc_event *
e)
override;
119 void delFromEvent(const ::sc_core::sc_event *e)
override;
142 void clear()
override { delFromEvent(event); }
148 std::set<const ::sc_core::sc_event *>
events;
152 Process *
p,
const std::set<const ::sc_core::sc_event *> &
s) :
160 for (
auto event: events)
167 events.insert(event);
280 bool notifyWork(
Event *e)
override;
296 bool notifyWork(
Event *e)
override;
301 #endif //__SYSTEMC_CORE_SENSITIVITY_HH__ void newDynamicSensitivityEventOrList(Process *p, const sc_core::sc_event_or_list *eol)
Category category() override
SensitivityEvents(Process *p, const std::set< const ::sc_core::sc_event *> &s)
const ::sc_core::sc_event * event
void newStaticSensitivityInterface(Process *p, const sc_core::sc_interface *i)
StaticSensitivity(Process *p)
std::set< const ::sc_core::sc_event * > events
void newStaticSensitivityExport(Process *p, const sc_core::sc_export_base *exp)
void newDynamicSensitivityEventAndList(Process *p, const sc_core::sc_event_and_list *eal)
void newStaticSensitivityPort(Process *p, const sc_core::sc_port_base *pb)
DynamicSensitivityEvent(Process *p, const sc_core::sc_event *e)
StaticSensitivityEvent(Process *p, const sc_core::sc_event *e)
void newStaticSensitivityFinder(Process *p, const sc_core::sc_event_finder *f)
void newStaticSensitivityEvent(Process *p, const sc_core::sc_event *e)
void addEvent(const ::sc_core::sc_event *event)
StaticSensitivityPort(Process *p)
DynamicSensitivity(Process *p)
SensitivityEvent(Process *p, const ::sc_core::sc_event *e=nullptr)
void newDynamicSensitivityEvent(Process *p, const sc_core::sc_event *e)
Category category() override
std::vector< DynamicSensitivity * > DynamicSensitivities
SensitivityEvents(Process *p)
StaticSensitivityFinder(Process *p, const sc_core::sc_event_finder *f)
const sc_core::sc_event_finder * finder
std::vector< StaticSensitivity * > StaticSensitivities