22 wtimer (
mode m = automatic,
const std::string&
name = std::string (),
bool use_apc =
false);
23 void start (DWORD interval_ms, DWORD period_ms = 0);
24 void at (FILETIME& utctime, DWORD period_ms = 0);
31 virtual void at_timer (DWORD loval, DWORD hival) {};
35 static void CALLBACK timerProc (
wtimer* obj, DWORD loval, DWORD hival);
Base class for all named synchronization objects.
Definition syncbase.h:27
virtual const std::string & name() const
Return object's name.
Definition syncbase.h:60
Waitable timer.
Definition wtimer.h:13
virtual void at_timer(DWORD loval, DWORD hival)
Function called for timers that use the APC feature.
Definition wtimer.h:31
void start(DWORD interval_ms, DWORD period_ms=0)
Set the start time of the timer and it's period.
Definition wtimer.cpp:63
void stop()
Stop the timer.
Definition wtimer.cpp:85
void at(FILETIME &utctime, DWORD period_ms=0)
Set the timer at an absolute time.
Definition wtimer.cpp:76
mode
Timer mode.
Definition wtimer.h:17
syncbase class definition.