DlgEvtTimer Class Reference

#include <dlgevt.h>

Inheritance diagram for DlgEvtTimer:

KernelTimer CCObject SimpleCCObject List of all members.

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

DialogEventHandlerm_pEvtHandler
DialogOpm_pDialogOp
UINT32 m_IDEvent
void(* m_lpfnTimer )(void *)
void * m_Param

Private Member Functions

 CC_DECLARE_DYNAMIC (DlgEvtTimer)

Friends

class DialogEventHandler

Detailed Description

Definition at line 119 of file dlgevt.h.


Constructor & Destructor Documentation

DlgEvtTimer::DlgEvtTimer DialogEventHandler pEvtHandler = NULL,
DialogOp pDialogOp = NULL,
UINT32  IDEvent = NULL,
void(*)(void *)  lpfnTimer = NULL,
void *  Param = NULL
[inline]
 

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() {}

DlgEvtTimer::~DlgEvtTimer  )  [inline]
 

Definition at line 131 of file dlgevt.h.

00131 {}


Member Function Documentation

DlgEvtTimer::CC_DECLARE_DYNAMIC DlgEvtTimer   )  [private]
 

void DlgEvtTimer::Notify  )  [protected, virtual]
 

Act on a timer event.

Author:
Alex_Bligh <alex@alex.org.uk>
Date:
15/05/2005
Parameters:
None [INPUTS]
None [OUTPUTS]
Returns:
-

Errors: -

See also:
-

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 }


Friends And Related Function Documentation

friend class DialogEventHandler [friend]
 

Definition at line 122 of file dlgevt.h.


Member Data Documentation

UINT32 DlgEvtTimer::m_IDEvent [protected]
 

Definition at line 136 of file dlgevt.h.

void(* DlgEvtTimer::m_lpfnTimer)(void *) [protected]
 

void* DlgEvtTimer::m_Param [protected]
 

Definition at line 138 of file dlgevt.h.

DialogOp* DlgEvtTimer::m_pDialogOp [protected]
 

Definition at line 135 of file dlgevt.h.

DialogEventHandler* DlgEvtTimer::m_pEvtHandler [protected]
 

Definition at line 134 of file dlgevt.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:53:40 2007 for Camelot by  doxygen 1.4.4