summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_event.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/core/sc_event.hh')
-rw-r--r--src/systemc/ext/core/sc_event.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_event.hh b/src/systemc/ext/core/sc_event.hh
index d4d719b95..d110b9178 100644
--- a/src/systemc/ext/core/sc_event.hh
+++ b/src/systemc/ext/core/sc_event.hh
@@ -132,6 +132,10 @@ class sc_event
void notify(double, sc_time_unit);
void cancel();
+ // Nonstandard
+ // Returns whether this event is currently triggered.
+ bool triggered() const;
+
sc_event_and_expr operator & (const sc_event &) const;
sc_event_and_expr operator & (const sc_event_and_list &) const;
sc_event_or_expr operator | (const sc_event &) const;