#include <CTDriver.h>
Public Member Functions | |
CTDriver (int milliseconds=10) | |
custom constructor sets 10ms tick | |
void | StartTimer () |
starts timer | |
void | KillTimer () |
kills timer | |
virtual BOOL | DestroyWindow () |
overloaded method which kills the WM_TIMER | |
Protected Member Functions | |
int | Init () |
sets up window | |
BOOL | PreCreateWindow (CREATESTRUCT &cs) |
overloaded method which sets WS_OVERLAPPEDWINDOW style | |
afx_msg void | OnTimer (UINT nIDEvent) |
timer callback | |
Protected Attributes | |
UINT | m_nTimer |
indicates whether timer was set | |
int | m_milliseconds |
amount of time to tick | |
This class delivers timer ticks which are intended to be used by a platform/GUI independent timer service.
HOOPS/MVO HTManager class provides such a service.