24 #ifndef PPL_Pending_Element_defs_hh
25 #define PPL_Pending_Element_defs_hh 1
38 template <
typename Threshold>
48 void assign(
const Threshold& deadline,
77 #endif // !defined(PPL_Pending_Element_defs_hh)
A class for pending watchdog events with embedded links.
Abstract base class for handlers of the watchdog events.
bool * p_f
A pointer to a flag saying whether the event has already expired or not.
bool & expired_flag() const
Returns a reference to the "event-expired" flag.
const Threshold & deadline() const
Returns the deadline of the event.
A (base) class for doubly linked objects.
const Handler & handler() const
Returns the handler associated to the event.
void assign(const Threshold &deadline, const Handler &handler, bool &expired_flag)
Modifies *this so that it has the given attributes.
const Handler * p_h
A pointer to the handler associated to the event.
Threshold d
The deadline of the event.
bool OK() const
Checks if all the invariants are satisfied.
Pending_Element(const Threshold &deadline, const Handler &handler, bool &expired_flag)
Constructs an element with the given attributes.