NLMISC::CEventMouse Class Reference

#include <events.h>

Inheritance diagram for NLMISC::CEventMouse:

NLMISC::CEvent NLMISC::CClassId NLMISC::CEventMouseDblClk NLMISC::CEventMouseDown NLMISC::CEventMouseMove NLMISC::CEventMouseUp NLMISC::CEventMouseWheel

Detailed Description

CEventMouse. Base for mouse events.

Definition at line 326 of file events.h.

Public Member Functions

 CEventMouse (float x, float y, TMouseButton button, 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

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

float X
float Y

Static Public Attributes

const CClassId Null


Constructor & Destructor Documentation

NLMISC::CEventMouse::CEventMouse float  x,
float  y,
TMouseButton  button,
IEventEmitter emitter,
const CClassId classId
[inline]
 

Definition at line 332 of file events.h.

References x, and y.

00332                                                                                                              : CEvent (emitter, classId)
00333         {
00334                 X = x;
00335                 Y = y;
00336                 Button = button;
00337         }


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

TMouseButton NLMISC::CEventMouse::Button
 

Definition at line 330 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().

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().

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

float NLMISC::CEventMouse::X
 

Definition at line 329 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().

float NLMISC::CEventMouse::Y
 

Definition at line 329 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().


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