Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out of scope.
More...
#include <TimerThread.h>
Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out of scope.
◆ Timer() [1/2]
OpenZWave::Internal::Timer::Timer |
( |
Driver * | _driver | ) |
|
Constructor with the _driver this instance is associated with.
- Parameters
-
_driver | The Driver that this instance is associated with |
◆ Timer() [2/2]
OpenZWave::Internal::Timer::Timer |
( |
| ) |
|
◆ ~Timer()
OpenZWave::Internal::Timer::~Timer |
( |
| ) |
|
◆ SetDriver()
void OpenZWave::Internal::Timer::SetDriver |
( |
Driver * | _driver | ) |
|
Register the Driver Associated with this Instance.
- Parameters
-
◆ TimerDelEvent() [1/2]
Delete a Specific Event Registered to this instance.
- Parameters
-
te | The TimerEventEntry Struct that was returned when Setting a Event |
◆ TimerDelEvent() [2/2]
void OpenZWave::Internal::Timer::TimerDelEvent |
( |
uint32 | id | ) |
|
Delete a Specific Event Registered to this instance.
- Parameters
-
id | The ID of the Timer To Delete |
◆ TimerDelEvents()
void OpenZWave::Internal::Timer::TimerDelEvents |
( |
| ) |
|
Delete All Events registered to this instance.
◆ TimerFireEvent()
Called From the TimerThread Class to execute a callback.
- Parameters
-
te | The TimerEventEntry structure for the callback to execute |
◆ TimerSetEvent()
Schedule an event.
- Parameters
-
_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 |
The documentation for this class was generated from the following files: