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

CEvent.cpp File Reference

#include <config.h>
#include "CEvent.h"
#include <CEventMonitor.h>
#include <CApplicationRegistry.h>
#include <CApplicationSerializer.h>
#include <CReactor.h>
#include <spectrodaq.h>
#include <unistd.h>

Go to the source code of this file.

Classes

class  StartEventThread

Variables

const char * Copyright = "(C) Copyright Michigan State University 2002, All rights reserved"
const string RegistryName = "Events"
const unsigned long StartupDelayuSec = 100000


Detailed Description

Encapsulates event handling. Events consist of an event monitor which is responsible for determining when an event fires and a reactor which provides application specific handling of the event. When enabled, the event will schedule a thread m_EventThread to process the event. The event thread contains code to repeatedly calll the monitor's operator(), lock the global mutex and call the reactor's operator(). The reactors provided with classes derived from this are generally standardized to invoke Subclass virtual function which are specific to the event being managed..

Definition in file CEvent.cpp.


Variable Documentation

const char* Copyright = "(C) Copyright Michigan State University 2002, All rights reserved" [static]
 

Definition at line 278 of file CEvent.cpp.

const string RegistryName = "Events" [static]
 

Definition at line 314 of file CEvent.cpp.

Referenced by CEvent::CEvent().

const unsigned long StartupDelayuSec = 100000 [static]
 

Definition at line 315 of file CEvent.cpp.

Referenced by StartEventThread::operator()().


Generated on Thu Jan 6 16:58:43 2005 for Spectrodaq External Event Framework by  doxygen 1.3.9.1