|
PPL
1.2
|
A class of watchdogs controlling the exceeding of a threshold. More...
#include <Threshold_Watcher_defs.hh>

Classes | |
| struct | Initialize |
Public Member Functions | |
| template<typename Flag_Base , typename Flag > | |
| Threshold_Watcher (const typename Traits::Delta &delta, const Flag_Base *volatile &holder, Flag &flag) | |
| Threshold_Watcher (const typename Traits::Delta &delta, void(*function)()) | |
| ~Threshold_Watcher () | |
Private Types | |
| typedef Implementation::Watchdog::Pending_List< Traits > | TW_Pending_List |
| typedef Implementation::Watchdog::Handler | TW_Handler |
Private Member Functions | |
| Threshold_Watcher (const Threshold_Watcher &) | |
| Threshold_Watcher & | operator= (const Threshold_Watcher &) |
Static Private Member Functions | |
| static TW_Pending_List::iterator | add_threshold (typename Traits::Threshold threshold, const TW_Handler &handler, bool &expired_flag) |
| static TW_Pending_List::iterator | remove_threshold (typename TW_Pending_List::iterator position) |
| static void | check () |
| Check threshold reaching. More... | |
Private Attributes | |
| bool | expired |
| const TW_Handler & | handler |
| TW_Pending_List::iterator | pending_position |
Static Private Attributes | |
| static Initialize | init |
A class of watchdogs controlling the exceeding of a threshold.
| Traits | A class to set data types and functions for the threshold handling. See Parma_Polyhedra_Library::Weightwatch_Traits for an example. |
Definition at line 40 of file Threshold_Watcher_defs.hh.
|
private |
Definition at line 54 of file Threshold_Watcher_defs.hh.
|
private |
Definition at line 53 of file Threshold_Watcher_defs.hh.
| Parma_Polyhedra_Library::Threshold_Watcher< Traits >::Threshold_Watcher | ( | const typename Traits::Delta & | delta, |
| const Flag_Base *volatile & | holder, | ||
| Flag & | flag | ||
| ) |
Definition at line 35 of file Threshold_Watcher_inlines.hh.
|
inline |
Definition at line 54 of file Threshold_Watcher_inlines.hh.
| Parma_Polyhedra_Library::Threshold_Watcher< Traits >::~Threshold_Watcher | ( | ) |
Definition at line 50 of file Threshold_Watcher_templates.hh.
|
private |
|
staticprivate |
Definition at line 31 of file Threshold_Watcher_templates.hh.
References Parma_Polyhedra_Library::Threshold_Watcher< Traits >::check().
|
staticprivate |
Check threshold reaching.
Definition at line 59 of file Threshold_Watcher_templates.hh.
Referenced by Parma_Polyhedra_Library::Threshold_Watcher< Traits >::add_threshold().
|
private |
|
staticprivate |
Definition at line 41 of file Threshold_Watcher_templates.hh.
|
private |
Definition at line 56 of file Threshold_Watcher_defs.hh.
|
private |
Definition at line 57 of file Threshold_Watcher_defs.hh.
|
staticprivate |
Definition at line 68 of file Threshold_Watcher_defs.hh.
|
private |
Definition at line 58 of file Threshold_Watcher_defs.hh.