28#ifndef _TIMERTHREAD_H_
29#define _TIMERTHREAD_H_
31#if __cplusplus >= 201103L || __APPLE__ || _MSC_VER
36#include <tr1/functional>
38using std::tr1::function;
88 static void TimerThreadEntryPoint(
Event* _exitEvent,
void* _context );
111 void TimerThreadProc(
Event* _exitEvent );
115 list<TimerEventEntry *> m_timerEventList;
119 int32 m_timerTimeout;
155 void TimerDelEvents();
165 void TimerDelEvent(
uint32 id);
171 void SetDriver(
Driver *_driver);
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 TimeStamp.
Definition TimeStamp.h:41
The TimerThread class makes it possible to schedule events to happen at a certain time in the future.
Definition TimerThread.h:56
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
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