NLMISC::CEvent Class Reference

#include <events.h>

Inheritance diagram for NLMISC::CEvent:

NLMISC::CClassId NLMISC::CEventActivate NLMISC::CEventDestroyWindow NLMISC::CEventKey NLMISC::CEventMouse NLMISC::CEventSetFocus NLMISC::CGameDeviceEvent NLMISC::CGDMouseMove NLMISC::CEventChar NLMISC::CEventKeyDown NLMISC::CEventKeyUp NLMISC::CEventMouseDblClk NLMISC::CEventMouseDown NLMISC::CEventMouseMove NLMISC::CEventMouseUp NLMISC::CEventMouseWheel NLMISC::CGDAxisMoved NLMISC::CGDButton NLMISC::CGDPOVChanged NLMISC::CGDSliderMoved

Detailed Description

CEvent. System event.
Date:
2000

Definition at line 44 of file events.h.

Public Member Functions

virtual CEventclone () const=0
 operator uint64 () const
bool operator!= (const CClassId &o) const
bool operator< (const CClassId &o) const
bool operator<= (const CClassId &o) const
bool operator== (const CClassId &o) const
bool operator> (const CClassId &o) const
bool operator>= (const CClassId &o) const

Data Fields

IEventEmitterEmitter
 Emitter of the event. Can be NULL if the event is posted directly to the CEventServer.


Static Public Attributes

const CClassId Null

Protected Member Functions

 CEvent (IEventEmitter *emitter, const CClassId &classId)


Constructor & Destructor Documentation

NLMISC::CEvent::CEvent IEventEmitter emitter,
const CClassId classId
[inline, protected]
 

Constructor.

Parameters:
emitter is the emitter of the event. Can be NULL if the event is posted directly to the CEventServer.
classId is the classId of the event. Should be unique for each event.

Definition at line 57 of file events.h.

References Emitter.

00057                                                                  : CClassId (classId)
00058         {
00059                 Emitter=emitter;
00060         }


Member Function Documentation

virtual CEvent* NLMISC::CEvent::clone  )  const [pure virtual]
 

Implemented in NLMISC::CEventKeyDown, NLMISC::CEventKeyUp, NLMISC::CEventChar, NLMISC::CEventMouseDown, NLMISC::CEventMouseUp, NLMISC::CEventMouseMove, NLMISC::CEventMouseDblClk, NLMISC::CEventMouseWheel, NLMISC::CEventActivate, NLMISC::CEventSetFocus, NLMISC::CEventDestroyWindow, NLMISC::CGDMouseMove, NLMISC::CGDButtonDown, NLMISC::CGDButtonUp, NLMISC::CGDAxisMoved, NLMISC::CGDSliderMoved, and NLMISC::CGDPOVChanged.

NLMISC::CClassId::operator uint64  )  const [inline, inherited]
 

Definition at line 62 of file class_id.h.

References NLMISC::CClassId::Uid.

00062 {return Uid;}

bool NLMISC::CClassId::operator!= const CClassId o  )  const [inline, inherited]
 

Definition at line 56 of file class_id.h.

References NLMISC::CClassId::Uid.

00056 {return Uid!=o.Uid;}

bool NLMISC::CClassId::operator< const CClassId o  )  const [inline, inherited]
 

Definition at line 59 of file class_id.h.

References NLMISC::CClassId::Uid.

00059 {return Uid<o.Uid;}

bool NLMISC::CClassId::operator<= const CClassId o  )  const [inline, inherited]
 

Definition at line 57 of file class_id.h.

References NLMISC::CClassId::Uid.

00057 {return Uid<=o.Uid;}

bool NLMISC::CClassId::operator== const CClassId o  )  const [inline, inherited]
 

Definition at line 55 of file class_id.h.

References NLMISC::CClassId::Uid.

00055 {return Uid==o.Uid;}

bool NLMISC::CClassId::operator> const CClassId o  )  const [inline, inherited]
 

Definition at line 60 of file class_id.h.

References NLMISC::CClassId::Uid.

00060 {return Uid>o.Uid;}

bool NLMISC::CClassId::operator>= const CClassId o  )  const [inline, inherited]
 

Definition at line 58 of file class_id.h.

References NLMISC::CClassId::Uid.

00058 {return Uid>=o.Uid;}


Field Documentation

IEventEmitter* NLMISC::CEvent::Emitter
 

Emitter of the event. Can be NULL if the event is posted directly to the CEventServer.

Definition at line 48 of file events.h.

Referenced by CEvent().

const CClassId NLMISC::CClassId::Null [static, inherited]
 


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 13:09:46 2004 for NeL by doxygen 1.3.6