Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

CTimerEvent::CTimerGenericReactor Class Reference

Inheritance diagram for CTimerEvent::CTimerGenericReactor:

CReactor CRegisteredObject CNamedObject List of all members.

Public Member Functions

 CTimerGenericReactor (CTimerEvent &rOwner)
 CTimerGenericReactor (const char *pName, CTimerEvent &rOwner)
virtual void OnEvent (CEventMonitor &rMonitor)

Private Attributes

CTimerEventm_rOwner
 My Owner.

Detailed Description

CTimerGenericReactor - is a timer reactor which allows the timer event to look to the programmer like a monolithic entitiy. It calls the CTimerEvent classe's OnEvent when the timer fires.

Definition at line 326 of file CTimerEvent.h.


Constructor & Destructor Documentation

CTimerEvent::CTimerGenericReactor::CTimerGenericReactor CTimerEvent rOwner  ) 
 

Construct a generic reactor for the CTimerEvent class. The reactor is a callback reactor which acts to make the event class appear monolithic to anyone who users it.

Parameters:
rOwner - The event to which I"ve been attached.

Definition at line 302 of file CTimerEvent.cpp.

CTimerEvent::CTimerGenericReactor::CTimerGenericReactor const char *  pName,
CTimerEvent rOwner
 

Construct a generic reactor for the CTimerEvent class. The reactor is a callback reactor which acts to make the event class appear monolithic to anyone who users it.

Parameters:
pName - Name of the reactor.
rOwner - The event to which I"ve been attached.

Definition at line 314 of file CTimerEvent.cpp.


Member Function Documentation

void CTimerEvent::CTimerGenericReactor::OnEvent CEventMonitor rMonitor  )  [virtual]
 

This is the actual callback relay. When called, this member function just calls m_rMonitor's OnTimer. OnTimer is called because oneshot timers must be treated specailly to ensure that the thread exits.

Reimplemented from CReactor.

Definition at line 326 of file CTimerEvent.cpp.

References CTimerEvent::InternalOnTimer(), and m_rOwner.


Member Data Documentation

CTimerEvent& CTimerEvent::CTimerGenericReactor::m_rOwner [private]
 

My Owner.

Definition at line 328 of file CTimerEvent.h.

Referenced by OnEvent().


The documentation for this class was generated from the following files:
Generated on Thu Jan 6 16:58:45 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1