21 typedef std::list<ScheduleableHandle> ScheduleableHandleList;
25 void setName(
const std::string & name) {
31 for (
auto &ri : registry_)
38 const std::string& getName()
const
45 registry_.push_back(ev_hand);
56 auto ei = std::find(registry_.begin(), registry_.end(), ev_hand);
57 if (ei != registry_.end()) {
64 for (
auto &ri : registry_)
71 void delayedNotify(
const Clock::Cycle& delay)
73 for (
auto &ri : registry_)
83 ScheduleableHandleList registry_;
File that defines the Clock class.
File that defines the Scheduleable class.
A simple time-based, event precedence based scheduler.
Class used maintain a list of sparta::Scheduleable objects; used by observation-type classes.
A light-weight reference counting handle for Scheduleables – DOES NOT delete.
void setDelay(Clock::Cycle delay)
Set a fixed delay for this event.
Macros for handling exponential backoff.