#include <dlgevt.h>
Inheritance diagram for DlgEvtTimer:
Public Member Functions | |
DlgEvtTimer (DialogEventHandler *pEvtHandler=NULL, DialogOp *pDialogOp=NULL, UINT32 IDEvent=NULL, void(*lpfnTimer)(void *)=NULL, void *Param=NULL) | |
~DlgEvtTimer () | |
Protected Member Functions | |
virtual void | Notify () |
Act on a timer event. | |
Protected Attributes | |
DialogEventHandler * | m_pEvtHandler |
DialogOp * | m_pDialogOp |
UINT32 | m_IDEvent |
void(* | m_lpfnTimer )(void *) |
void * | m_Param |
Private Member Functions | |
CC_DECLARE_DYNAMIC (DlgEvtTimer) | |
Friends | |
class | DialogEventHandler |
Definition at line 119 of file dlgevt.h.
|
Definition at line 124 of file dlgevt.h. 00125 : 00126 m_pEvtHandler(pEvtHandler), 00127 m_pDialogOp(pDialogOp), 00128 m_IDEvent(IDEvent), 00129 m_lpfnTimer(lpfnTimer), 00130 m_Param(Param) {} ~DlgEvtTimer() {}
|
|
Definition at line 131 of file dlgevt.h.
|
|
|
|
Act on a timer event.
Reimplemented from KernelTimer. Definition at line 194 of file dlgevt.cpp. 00195 { 00196 if (m_lpfnTimer) 00197 { 00198 (*m_lpfnTimer)(m_Param); 00199 } 00200 else 00201 { 00202 // We need to send a DIM_TIMER to the DialogOp 00203 BROADCAST_TO_CLASS(DialogMsg(m_pEvtHandler->pwxWindow, DIM_TIMER, 0, (UINT_PTR)m_IDEvent, 0), DialogOp); 00204 } 00205 }
|
|
|
|
|
|
|
|
|
|
|
|
|