28#ifndef _TIMERTHREAD_H_
29#define _TIMERTHREAD_H_
31#if __cplusplus >= 201103L || __APPLE__ || _MSC_VER
36#include <tr1/functional>
38using std::tr1::function;
114 list<TimerEventEntry *> m_timerEventList;
118 int32 m_timerTimeout;
178 list<TimerThread::TimerEventEntry *> m_timerEventList;
unsigned int uint32
Definition Defs.h:91
signed int int32
Definition Defs.h:90
#define OPENZWAVE_EXPORT
Definition Defs.h:52
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition Driver.h:85
function< void(uint32)> TimerCallback
Definition TimerThread.h:63
friend class Timer
Definition TimerThread.h:57
TimerThread(Driver *_driver)
Definition TimerThread.cpp:55
static void TimerThreadEntryPoint(Internal::Platform::Event *_exitEvent, void *_context)
Definition TimerThread.cpp:42
Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out o...
Definition TimerThread.h:128
void TimerDelEvent(TimerThread::TimerEventEntry *te)
Delete a Specific Event Registered to this instance.
Definition TimerThread.cpp:260
void SetDriver(Driver *_driver)
Register the Driver Associated with this Instance.
Definition TimerThread.cpp:252
TimerThread::TimerEventEntry * TimerSetEvent(int32 _milliseconds, TimerThread::TimerCallback _callback, uint32 id)
Schedule an event.
Definition TimerThread.cpp:207
Timer(Driver *_driver)
Constructor with the _driver this instance is associated with.
Definition TimerThread.cpp:177
void TimerDelEvents()
Delete All Events registered to this instance.
Definition TimerThread.cpp:231
void TimerFireEvent(TimerThread::TimerEventEntry *te)
Called From the TimerThread Class to execute a callback.
Definition TimerThread.cpp:315
Definition Bitfield.cpp:33
Definition Bitfield.cpp:31
Definition TimerThread.h:76
TimerCallback callback
Definition TimerThread.h:79
Timer * instance
Definition TimerThread.h:77
Internal::Platform::TimeStamp timestamp
Definition TimerThread.h:78
uint32 id
Definition TimerThread.h:80