|
gPTP Documentation
|
#include <windows_hal.hpp>


Public Member Functions | |
| bool | addEvent (unsigned long micros, int type, ostimerq_handler func, event_descriptor_t *arg, bool rm, unsigned *event) |
| Create a new event and add it to the timer queue. More... | |
| bool | cancelEvent (int type, unsigned *event) |
| Cancels an event from the queue. More... | |
Protected Member Functions | |
| WindowsTimerQueue () | |
Protected Member Functions inherited from OSTimerQueue | |
| virtual bool | init () |
| Initializes timer queue. More... | |
| OSTimerQueue () | |
Friends | |
| class | WindowsTimerQueueFactory |
| VOID CALLBACK | WindowsTimerQueueHandler (PVOID arg_in, BOOLEAN ignore) |
Windows timer queue interface
|
inlineprotected |
Default constructor. Initializes timers lock
|
inlinevirtual |
Create a new event and add it to the timer queue.
| micros | Time in microsseconds |
| type | Event type |
| func | Callback function |
| arg | [in] Event arguments |
| rm | when true, allows elements to be deleted from the queue |
| event | [in] Pointer to the event to be created |
Implements OSTimerQueue.
|
inlinevirtual |
Cancels an event from the queue.
| type | Event type |
| event | [in] Pointer to the event to be removed |
Implements OSTimerQueue.
|
friend |
Windows Timer queue handler callback definition
Windows callback for the timer queue handler