|
PPL
0.12.1
|
An ordered list for recording pending watchdog events. More...
#include <ppl.hh>
Public Types | |
|
typedef EList< Pending_Element < typename Traits::Threshold > >::Iterator | Iterator |
| A non-const iterator to traverse the list. | |
|
typedef EList< Pending_Element < typename Traits::Threshold > >::Const_Iterator | Const_Iterator |
| A const iterator to traverse the list. | |
Public Member Functions | |
| Pending_List () | |
| Constructs an empty list. | |
| ~Pending_List () | |
| Destructor. | |
| Iterator | insert (const typename Traits::Threshold &deadline, const Handler &handler, bool &expired_flag) |
| Inserts a new Pending_Element object with the given attributes. | |
| Iterator | erase (Iterator position) |
Removes the element pointed to by position, returning an iterator pointing to the next element, if any, or end(), otherwise. | |
| bool | empty () const |
Returns true if and only if the list is empty. | |
| Iterator | begin () |
| Returns an iterator pointing to the beginning of the list. | |
| Iterator | end () |
| Returns an iterator pointing one past the last element in the list. | |
| bool | OK () const |
| Checks if all the invariants are satisfied. | |
An ordered list for recording pending watchdog events.