NLMISC::CGDButtonDown Class Reference

#include <game_device_events.h>

Inheritance diagram for NLMISC::CGDButtonDown:

NLMISC::CGDButton NLMISC::CGameDeviceEvent NLMISC::CEvent NLMISC::CClassId

Detailed Description

A button has been pushed

Definition at line 114 of file game_device_events.h.

Public Member Functions

 CGDButtonDown (uint buttonIndex, IGameDevice *gameDevice, IEventEmitter *emitter)
virtual CEventclone () const
 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::CGDButtonDown::CGDButtonDown uint  buttonIndex,
IGameDevice gameDevice,
IEventEmitter emitter
[inline]
 

Definition at line 118 of file game_device_events.h.

References NLMISC::EventGDButtonDownId, and uint.

Referenced by clone().

00119                                  : CGDButton(buttonIndex, true, gameDevice, emitter, EventGDButtonDownId)
00120         {}


Member Function Documentation

virtual CEvent* NLMISC::CGDButtonDown::clone void   )  const [inline, virtual]
 

Implements NLMISC::CEvent.

Definition at line 122 of file game_device_events.h.

References CGDButtonDown().

00122 {return new CGDButtonDown(*this);}

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

Definition at line 93 of file game_device_events.h.

Referenced by NLMISC::CGDButton::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 [inherited]
 

Definition at line 94 of file game_device_events.h.

Referenced by NLMISC::CGDButton::CGDButton().


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