Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATEvent Class Reference

CATEvent Class Reference
[GUI Application library for CAT]

#include <CATEvent.h>

List of all members.


Detailed Description

Evironmental event encapsulation.

Events are occurances from the external environment targetted to a specific window. They should be acted on immediately if possible, and are encountered and parsed on the primary GUI thread.

Events are identified by a 32-bit enumerated code (CATEventCode). These codes are stored in CATEventDefs.h, along with a description of what the parameters mean.

The main use of events is to take operating system / environmental messages and coax them into a single uniform type that can be dealt with by one set of code for all platforms.

See also:
CATEventDefs, CATApp, CATWindow, CATCommand

Definition at line 37 of file CATEvent.h.


Public Member Functions

 CATEvent (CATEventCode eventCode, CATInt32 iParam1=0, CATInt32 iParam2=0, CATInt32 iParam3=0, CATInt32 iParam4=0, CATFloat32 fParam1=0.0f, const CATString sParam1="", const CATString sParam2="", const CATString sParam3="", void *vParam=0)
virtual ~CATEvent ()
CATEventoperator= (const CATEvent &event)

Public Attributes

CATEventCode fEventCode
CATInt32 fIntParam1
CATInt32 fIntParam2
CATInt32 fIntParam3
CATInt32 fIntParam4
CATFloat32 fFloatParam1
CATString fStringParam1
CATString fStringParam2
CATString fStringParam3
void * fVoidParam

The documentation for this class was generated from the following file:
Generated on Mon Feb 11 04:10:27 2008 for Game Accessibility Suite by doxygen 1.5.4