Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
OIS::JoyStickState Class Reference

Represents the state of the joystick All members are valid for both buffered and non buffered mode Sticks with zero values are not present on the device. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/OISJoyStick.h>

Public Member Functions

 JoyStickState ()
 Constructor. More...
 
void clear ()
 internal method to reset all variables to initial values More...
 

Public Attributes

std::vector< AxismAxes
 Represents all the single axes on the device. More...
 
std::vector< bool > mButtons
 Represents all the buttons (uses a bitset) More...
 
Pov mPOV [4]
 Represents the value of a POV. Maximum of 4. More...
 
Slider mSliders [4]
 Represent the max sliders. More...
 
std::vector< Vector3mVectors
 Represents all Vector type controls the device exports. More...
 

Detailed Description

Represents the state of the joystick All members are valid for both buffered and non buffered mode Sticks with zero values are not present on the device.

Constructor & Destructor Documentation

OIS::JoyStickState::JoyStickState ( )
inline

Constructor.

Member Function Documentation

void OIS::JoyStickState::clear ( )
inline

internal method to reset all variables to initial values

Member Data Documentation

std::vector<Axis> OIS::JoyStickState::mAxes

Represents all the single axes on the device.

std::vector<bool> OIS::JoyStickState::mButtons

Represents all the buttons (uses a bitset)

Pov OIS::JoyStickState::mPOV[4]

Represents the value of a POV. Maximum of 4.

Slider OIS::JoyStickState::mSliders[4]

Represent the max sliders.

std::vector<Vector3> OIS::JoyStickState::mVectors

Represents all Vector type controls the device exports.


The documentation for this class was generated from the following file: