#include <etimerpool.h>
◆ EntryMap
◆ EntryPtr
◆ ExpirationTimeEntryIdMap
◆ ExpirationTimeEntryMap
◆ ExpirationTimeEntryPtr
◆ TimerPtr
◆ TimerPtrList
◆ Rounding
Defines how rounding will be performed.
| Enumerator |
|---|
| up | Rounds up.
|
| down | Rounds down.
|
◆ ETimerPool()
| ETimerPool::ETimerPool |
( |
| ) |
|
◆ ~ETimerPool()
| ETimerPool::~ETimerPool |
( |
| ) |
|
◆ dump()
| Void ETimerPool::dump |
( |
| ) |
|
Prints the contents of the internal collections.
◆ getQuitSignal()
| Int ETimerPool::getQuitSignal |
( |
| ) |
|
|
inline |
Retrieves the current quit signal value.
- Returns
- the current quit signal value.
◆ getResolution()
| LongLong ETimerPool::getResolution |
( |
Bool |
raw = False | ) |
|
|
inline |
Retrieves the current timer resolution value.
- Parameters
-
| raw | True retrieves the value in milliseconds, otherwise microseconds. |
- Returns
- the current timer resolution value.
◆ getRounding()
Retrieves the current rounding value.
- Returns
- the current rounding value.
◆ getTimerSignal()
| Int ETimerPool::getTimerSignal |
( |
| ) |
|
|
inline |
Retrieves the current timer signal value.
- Returns
- the current timer signal value.
◆ init()
| Void ETimerPool::init |
( |
| ) |
|
◆ Instance()
Retrieves the single instance of the ETimerPool object.
- Returns
- a reference to the single instance of the ETimerPool object.
◆ registerTimer() [1/2]
Registers an expiration timer.
- Parameters
-
| ms | the length of the timer in milliseconds. |
| msg | the thread message to post when the timer expires. |
| thread | the thread to post the message to when the timer expires. |
- Returns
- the ID for this timer.
◆ registerTimer() [2/2]
Registers an expiration timer.
- Parameters
-
| ms | the length of the timer in milliseconds. |
| func | a callback function pointer that will be called when the timer expires. |
| data | a void pointer that will be included as a parameter to the expiration callback function. |
- Returns
- the ID for this timer.
◆ setQuitSignal()
Assigns the quit signal value.
- Parameters
-
| sig | the quit signal value. |
- Returns
- a reference to the ETimerPool object.
◆ setResolution()
| ETimerPool& ETimerPool::setResolution |
( |
LongLong |
ms | ) |
|
|
inline |
Assigns the timer resolution value.
- Parameters
-
| ms | the resolution in milliseconds. |
- Returns
- a reference to the ETimerPool object.
◆ setRounding()
Assigns the timer rounding method.
- Parameters
-
| r | the timer rounding method. |
- Returns
- a reference to the ETimerPool object.
◆ setTimerSignal()
Assigns the timer signal value.
- Parameters
-
| sig | the timer signal value. |
- Returns
- a reference to the ETimerPool object.
◆ uninit()
| Void ETimerPool::uninit |
( |
Bool |
dumpit = False | ) |
|
◆ unregisterTimer()
| ETimerPool & ETimerPool::unregisterTimer |
( |
ULong |
timerid | ) |
|
Unregisters an expiration timer.
- Parameters
-
| timerid | the ID of the timer to unregister (returned by registerTimer). |
- Returns
- a reference to the ETimerPool object.
◆ ExpirationTime
| friend ETimerPool::ExpirationTime |
|
protected |
The documentation for this class was generated from the following files: