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

CODEX_Events::EventBase Class Reference

Basic event type. More...

#include <Event.h>

Inheritance diagram for CODEX_Events::EventBase:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Events::EventBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EventBase (Activity *source)
virtual ~EventBase ()
 Virtual destructor.
virtual bool handle ()=0
 This virtual method allows a derived class to call the handler for its appropriate Activity, thereby enabling the Activity to distinguish the event by overloading on type.
Activitysource ()
 The Activity that created this event.

Protected Attributes

Activitym_source
 Source of this event.

Detailed Description

Basic event type.

All events inherit this base class, which allows them to be treated uniformly for queueing and dispatching.

Definition at line 38 of file Event.h.


Constructor & Destructor Documentation

EventBase::EventBase Activity source  ) 
 

Parameters:
source The Activity generating this event, to which an acknowledgement should be sent.

Definition at line 23 of file Event.cc.


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:42:03 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1