![]() |
OpenZWave Library
1.6.1914
|
Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out of scope. More...
#include <TimerThread.h>
Inheritance diagram for OpenZWave::Internal::Timer:Public Member Functions | |
| Timer (Driver *_driver) | |
| Constructor with the _driver this instance is associated with. More... | |
| Timer () | |
| Default Constructor. More... | |
| ~Timer () | |
| Destructor. More... | |
| TimerThread::TimerEventEntry * | TimerSetEvent (int32 _milliseconds, TimerThread::TimerCallback _callback, uint32 id) |
| Schedule an event. More... | |
| void | TimerDelEvents () |
| Delete All Events registered to this instance. More... | |
| void | TimerDelEvent (TimerThread::TimerEventEntry *te) |
| Delete a Specific Event Registered to this instance. More... | |
| void | TimerDelEvent (uint32 id) |
| Delete a Specific Event Registered to this instance. More... | |
| void | SetDriver (Driver *_driver) |
| Register the Driver Associated with this Instance. More... | |
| void | TimerFireEvent (TimerThread::TimerEventEntry *te) |
| Called From the TimerThread Class to execute a callback. More... | |
Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out of scope.
| OpenZWave::Internal::Timer::Timer | ( | Driver * | _driver | ) |
Constructor with the _driver this instance is associated with.
| _driver | The Driver that this instance is associated with |
| OpenZWave::Internal::Timer::Timer | ( | ) |
Default Constructor.
| OpenZWave::Internal::Timer::~Timer | ( | ) |
Destructor.
| void OpenZWave::Internal::Timer::SetDriver | ( | Driver * | _driver | ) |
| void OpenZWave::Internal::Timer::TimerDelEvent | ( | TimerThread::TimerEventEntry * | te | ) |
Delete a Specific Event Registered to this instance.
| te | The TimerEventEntry Struct that was returned when Setting a Event |
| void OpenZWave::Internal::Timer::TimerDelEvent | ( | uint32 | id | ) |
Delete a Specific Event Registered to this instance.
| id | The ID of the Timer To Delete |
| void OpenZWave::Internal::Timer::TimerDelEvents | ( | ) |
Delete All Events registered to this instance.
| void OpenZWave::Internal::Timer::TimerFireEvent | ( | TimerThread::TimerEventEntry * | te | ) |
Called From the TimerThread Class to execute a callback.
| te | The TimerEventEntry structure for the callback to execute |
| TimerThread::TimerEventEntry * OpenZWave::Internal::Timer::TimerSetEvent | ( | int32 | _milliseconds, |
| TimerThread::TimerCallback | _callback, | ||
| uint32 | id | ||
| ) |
Schedule an event.
| _milliseconds | The number of milliseconds before the event should happen |
| _callback | The function to be called when the time is reached |
| _id | The ID of the Timer |