#include <CATEvent.h>
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.
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 () |
CATEvent & | operator= (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 |