24 #ifndef PPL_Pending_Element_inlines_hh
25 #define PPL_Pending_Element_inlines_hh 1
31 namespace Implementation {
35 template <
typename Threshold>
41 template <
typename Threshold>
46 : d(deadline), p_h(&handler), p_f(&expired_flag) {
50 template <
typename Threshold>
61 template <
typename Threshold>
62 inline const Threshold&
67 template <
typename Threshold>
73 template <
typename Threshold>
85 #endif // !defined(PPL_Pending_Element_inlines_hh)
Abstract base class for handlers of the watchdog events.
bool & expired_flag() const
Returns a reference to the "event-expired" flag.
const Threshold & deadline() const
Returns the deadline of the event.
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.
bool OK() const
Checks if all the invariants are satisfied.
The entire library is confined to this namespace.
Pending_Element(const Threshold &deadline, const Handler &handler, bool &expired_flag)
Constructs an element with the given attributes.