JoystickData Class Reference

#include <JoystickData.h>

List of all members.

Public Member Functions

 JoystickData ()

Public Attributes

double x
double y
double z
double accel
int button
int coolie
bool directSpecialAction
SpecialActionRequest::SpecialActionID specialActionID
unsigned long timeStamp


Detailed Description

A class for holdung all data produced by a joystick or a key equivalent.

Definition at line 21 of file JoystickData.h.


Constructor & Destructor Documentation

JoystickData::JoystickData (  ) 

Constructor

Definition at line 12 of file JoystickData.cpp.

References SystemCall::getCurrentSystemTime(), and timeStamp.


Member Data Documentation

double JoystickData::accel

The value of the accelerator in [0,1]

Definition at line 31 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().

int JoystickData::button

Bit array of the pressed buttons

Definition at line 34 of file JoystickData.h.

Referenced by JoystickSymbols::getJoystickButton(), operator<<(), and operator>>().

int JoystickData::coolie

The value of the coolie: 0 or 1..8

Definition at line 37 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().

bool JoystickData::directSpecialAction

Boolean if a special-action is given to be executed

Definition at line 40 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().

SpecialActionRequest::SpecialActionID JoystickData::specialActionID

The id of the special-action to be executed directly

Definition at line 43 of file JoystickData.h.

Referenced by JoystickSymbols::getSpecialActionId(), operator<<(), and operator>>().

unsigned long JoystickData::timeStamp

The timestamp when the last data was received. Note that this value is set in the In streaming operator.

Definition at line 49 of file JoystickData.h.

Referenced by JoystickSymbols::getJoystickTimeSinceLastMessage(), JoystickData(), and operator>>().

double JoystickData::x

The value of the three joystick axes in [-1,1]

Definition at line 28 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().

double JoystickData::y

Definition at line 28 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().

double JoystickData::z

Definition at line 28 of file JoystickData.h.

Referenced by operator<<(), operator>>(), and JoystickSymbols::registerSymbols().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:39:41 2006 for DT2005.panorama by  doxygen 1.4.7