NLMISC::CGameDeviceEvent Class Reference

#include <game_device_events.h>

Inheritance diagram for NLMISC::CGameDeviceEvent:

NLMISC::CEvent NLMISC::CClassId NLMISC::CGDAxisMoved NLMISC::CGDButton NLMISC::CGDPOVChanged NLMISC::CGDSliderMoved NLMISC::CGDButtonDown NLMISC::CGDButtonUp

Detailed Description

An event from a game device (joystick, joypad ...)

Definition at line 69 of file game_device_events.h.

Public Member Functions

 CGameDeviceEvent (IGameDevice *gameDevice, IEventEmitter *emitter, const CClassId &classId)
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.

IGameDeviceGameDevice
 the game device this event come from


Static Public Attributes

const CClassId Null


Constructor & Destructor Documentation

NLMISC::CGameDeviceEvent::CGameDeviceEvent IGameDevice gameDevice,
IEventEmitter emitter,
const CClassId classId
[inline]
 

Definition at line 75 of file game_device_events.h.

References GameDevice.

00080                                         : CEvent(emitter, classId), 
00081                                           GameDevice(gameDevice)
00082         {}


Member Function Documentation

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

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 [inherited]
 

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 NLMISC::CEvent::CEvent().

IGameDevice* NLMISC::CGameDeviceEvent::GameDevice
 

the game device this event come from

Definition at line 73 of file game_device_events.h.

Referenced by CGameDeviceEvent().

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


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