Static Public Member Functions | |
| static bool | StartTimer (ICallBack *callBack, int timerId, unsigned int elapsedTime) |
| Starts a new timer with specified id and callback. | |
| static bool | StopTimer (ICallBack *callBack, int timerId) |
| Stops a timer with specified id and callback. | |
| static void | Initialize () |
| Initializes a timer. | |
| static void | UnInitialize () |
| Uninitializes a timer. | |
Classes | |
| struct | ICallBack |
| Callback interface to be called when a timer expires. More... | |
When the timer expires, the appropriate subscriber is notified by calling ICallBack::OnExpire
| bool StartTimer | ( | ICallBack * | callBack, | |
| int | timerId, | |||
| unsigned int | elapsedTime | |||
| ) | [static] |
Starts a new timer with specified id and callback.
The callback function is called only once. To restart the timer, CTimer::StartTimer function should be called again.
| [in] | callBack | Pointer to ICallBack interface. |
| [in] | timerId | Timer identifier which will be passed to the callback interface |
| [in] | elapsedTime | Specifies time-out value, in milliseconds. |
| bool StopTimer | ( | ICallBack * | callBack, | |
| int | timerId | |||
| ) | [static] |
Stops a timer with specified id and callback.
| [in] | callBack | Pointer to ICallBack interface. |
| [in] | timerId | Timer identifier. |
| void Initialize | ( | ) | [static] |
Initializes a timer.
| void UnInitialize | ( | ) | [static] |
Uninitializes a timer.
| Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |