|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <TimerQueue.hxx>
Public Member Functions | |
| virtual void | processTimer (const T &timer)=0 |
| virtual | ~TimerQueue () |
| deletes the message associated with the timer as well. | |
| unsigned int | msTillNextTimer () |
| provides the time in milliseconds before the next timer will fire | |
| virtual uint64_t | process () |
| gets the set of timers that have fired, and inserts TimerMsg into the state machine fifo and application messages into the TU fifo | |
| int | size () const |
| bool | empty () const |
| std::ostream & | encode (std::ostream &str) const |
| EncodeStream & | encode (EncodeStream &str) const |
Protected Types | |
| typedef std::vector< T, std::allocator< T > > | TimerVector |
Protected Attributes | |
| std::priority_queue< T, TimerVector, std::greater< T > > | mTimers |
Definition at line 39 of file TimerQueue.hxx.
|
protected |
Definition at line 152 of file TimerQueue.hxx.
|
inlinevirtual |
deletes the message associated with the timer as well.
Definition at line 47 of file TimerQueue.hxx.
|
inline |
Definition at line 118 of file TimerQueue.hxx.
|
inline |
Definition at line 137 of file TimerQueue.hxx.
|
inline |
Definition at line 123 of file TimerQueue.hxx.
|
inline |
provides the time in milliseconds before the next timer will fire
| milliseconds | time until the next timer will fire |
| 0 | implies that timers occur in the past |
| INT_MAX | implies that there are no timers |
Definition at line 62 of file TimerQueue.hxx.
|
inlinevirtual |
gets the set of timers that have fired, and inserts TimerMsg into the state machine fifo and application messages into the TU fifo
Definition at line 94 of file TimerQueue.hxx.
|
pure virtual |
|
inline |
Definition at line 113 of file TimerQueue.hxx.
|
protected |
Definition at line 153 of file TimerQueue.hxx.