24 #ifndef PPL_Threshold_Watcher_defs_hh
25 #define PPL_Threshold_Watcher_defs_hh 1
39 template <
typename Traits>
42 template <
typename Flag_Base,
typename Flag>
44 const Flag_Base*
volatile& holder,
73 const TW_Handler& handler,
87 template <
typename Traits>
95 #endif // !defined(PPL_Threshold_Watcher_defs_hh)
Abstract base class for handlers of the watchdog events.
static TW_Pending_List::iterator add_threshold(typename Traits::Threshold threshold, const TW_Handler &handler, bool &expired_flag)
An ordered list for recording pending watchdog events.
A class of watchdogs controlling the exceeding of a threshold.
Implementation::Watchdog::Pending_List< Traits > TW_Pending_List
static void check()
Check threshold reaching.
A class providing iterators for embedded lists.
Threshold_Watcher & operator=(const Threshold_Watcher &)
TW_Pending_List pending
The ordered queue of pending thresholds.
TW_Pending_List::iterator pending_position
Threshold_Watcher(const typename Traits::Delta &delta, const Flag_Base *volatile &holder, Flag &flag)
static TW_Pending_List::iterator remove_threshold(typename TW_Pending_List::iterator position)
Implementation::Watchdog::Handler TW_Handler
const TW_Handler & handler