NLMISC::CGDButton Class Reference

#include <game_device_events.h>

Inheritance diagram for NLMISC::CGDButton:

NLMISC::CGameDeviceEvent NLMISC::CEvent NLMISC::CClassId NLMISC::CGDButtonDown NLMISC::CGDButtonUp

Detailed Description

A button state has changed

Definition at line 89 of file game_device_events.h.

Public Member Functions

 CGDButton (uint buttonIndex, bool pushed, 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

uint ButtonIndex
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

bool Pushed

Static Public Attributes

const CClassId Null


Constructor & Destructor Documentation

NLMISC::CGDButton::CGDButton uint  buttonIndex,
bool  pushed,
IGameDevice gameDevice,
IEventEmitter emitter,
const CClassId classId
[inline]
 

Definition at line 97 of file game_device_events.h.

References ButtonIndex, Pushed, and uint.

00104                          : CGameDeviceEvent(gameDevice, emitter, classId),
00105                            ButtonIndex(buttonIndex),
00106                            Pushed(pushed)
00107         {}


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

uint NLMISC::CGDButton::ButtonIndex
 

Definition at line 93 of file game_device_events.h.

Referenced by CGDButton().

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

the game device this event come from

Definition at line 73 of file game_device_events.h.

Referenced by NLMISC::CGameDeviceEvent::CGameDeviceEvent().

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

bool NLMISC::CGDButton::Pushed
 

Definition at line 94 of file game_device_events.h.

Referenced by CGDButton().


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