28#ifndef _TIMERTHREAD_H_
29#define _TIMERTHREAD_H_
31#if __cplusplus >= 201103L || __APPLE__ || _MSC_VER
36#include <tr1/functional>
38using std::tr1::function;
111 void TimerThreadProc(
Event* _exitEvent );
115 list<TimerEventEntry *> m_timerEventList;
119 int32 m_timerTimeout;
179 list<TimerThread::TimerEventEntry *> m_timerEventList;
unsigned int uint32
Definition Defs.h:95
signed int int32
Definition Defs.h:94
#define OPENZWAVE_EXPORT
Definition Defs.h:51
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition Driver.h:65
Platform-independent definition of event objects.
Definition Event.h:41
Implements a platform-independent mutex–for serializing access to a shared resource.
Definition Mutex.h:41
Implements a platform-independent thread management class.
Definition Thread.h:44
Implements a platform-independent TimeStamp.
Definition TimeStamp.h:41
TimerThread(Driver *_driver)
Definition TimerThread.cpp:57
static void TimerThreadEntryPoint(Event *_exitEvent, void *_context)
Definition TimerThread.cpp:40
friend class Timer
Definition TimerThread.h:57
function< void(uint32)> TimerCallback
Definition TimerThread.h:63
Timer SubClass for automatically registering/unregistering Timer Callbacks if the instance goes out o...
Definition TimerThread.h:129
void TimerDelEvents()
Delete All Events registered to this instance.
Definition TimerThread.cpp:249
void TimerDelEvent(TimerThread::TimerEventEntry *te)
Delete a Specific Event Registered to this instance.
Definition TimerThread.cpp:279
void TimerFireEvent(TimerThread::TimerEventEntry *te)
Called From the TimerThread Class to execute a callback.
Definition TimerThread.cpp:329
void SetDriver(Driver *_driver)
Register the Driver Associated with this Instance.
Definition TimerThread.cpp:268
Timer(Driver *_driver)
Constructor with the _driver this instance is associated with.
Definition TimerThread.cpp:189
TimerThread::TimerEventEntry * TimerSetEvent(int32 _milliseconds, TimerThread::TimerCallback _callback, uint32 id)
Schedule an event.
Definition TimerThread.cpp:224
Definition TimerThread.h:76
uint32 id
Definition TimerThread.h:80
TimerCallback callback
Definition TimerThread.h:79
TimeStamp timestamp
Definition TimerThread.h:78
Timer * instance
Definition TimerThread.h:77