#include <etimerpool.h>
Defines how rounding will be performed.
| Enumerator |
|---|
| up |
Rounds up.
|
| down |
Rounds down.
|
| ETimerPool::ETimerPool |
( |
| ) |
|
| ETimerPool::~ETimerPool |
( |
| ) |
|
| Void ETimerPool::dump |
( |
| ) |
|
Prints the contents of the internal collections.
| Int ETimerPool::getQuitSignal |
( |
| ) |
|
|
inline |
Retrieves the current quit signal value.
- Returns
- the current quit signal value.
| 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.
Retrieves the current rounding value.
- Returns
- the current rounding value.
| Int ETimerPool::getTimerSignal |
( |
| ) |
|
|
inline |
Retrieves the current timer signal value.
- Returns
- the current timer signal value.
| Void ETimerPool::init |
( |
| ) |
|
Retrieves the single instance of the ETimerPool object.
- Returns
- a reference to the single instance of the ETimerPool object.
Registers an expiration timer.
- Parameters
-
| ms | the length of the timer in milliseconds. |
| msg | the thread message to post when the timer expires. |
| notify | a reference to the event notification object. |
- Returns
- the ID for this timer.
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.
Assigns the quit signal value.
- Parameters
-
| sig | the quit signal value. |
- Returns
- a reference to the ETimerPool object.
| ETimerPool& ETimerPool::setResolution |
( |
LongLong |
ms | ) |
|
|
inline |
Assigns the timer resolution value.
- Parameters
-
| ms | the resolution in milliseconds. |
- Returns
- a reference to the ETimerPool object.
Assigns the timer rounding method.
- Parameters
-
| r | the timer rounding method. |
- Returns
- a reference to the ETimerPool object.
Assigns the timer signal value.
- Parameters
-
| sig | the timer signal value. |
- Returns
- a reference to the ETimerPool object.
| Void ETimerPool::uninit |
( |
Bool |
dumpit = False | ) |
|
| 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.
| friend ETimerPool::ExpirationTime |
|
protected |
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/etimerpool.h
- /home/vagrant/share/code/epctools-omec-pfcp/src/etimerpool.cpp