#include <avbts_ostimerq.hpp>
OSTimerQueue generic interface
| OSTimerQueue::OSTimerQueue |
( |
| ) |
|
|
inlineprotected |
Add an event to the timer queue.
- Parameters
-
| micros | Time in microsseconds |
| type | Event type |
| func | Callback |
| arg | inner argument of type event_descriptor_t |
| dynamic | when true, allows elements to be deleted from the queue |
| event | [inout] Pointer to the event |
- Returns
- TRUE success, FALSE fail
Implemented in LinuxTimerQueue, and WindowsTimerQueue.
| virtual bool OSTimerQueue::cancelEvent |
( |
int |
type, |
|
|
unsigned * |
event |
|
) |
| |
|
pure virtual |
Removes an event from the timer queue.
- Parameters
-
| type | Event type |
| event | [inout] Pointer to the event |
- Returns
- TRUE success, FALSE fail
Implemented in LinuxTimerQueue, and WindowsTimerQueue.
| virtual bool OSTimerQueue::init |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: