DeviceIndexMapping Class Reference

#include <DeviceIndexMapping.h>

List of all members.


Public Member Functions

 DeviceIndexMapping (int deviceIndex, int indexInDevice)
bool operator== (const DeviceIndexMapping &rhs) const
void setDeviceIndex (int deviceIndex)
void setIndexInDevice (int indexInDevice)
int getDeviceIndex () const
int getIndexInDevice () const

Private Attributes

int deviceIndex
int indexInDevice

Constructor & Destructor Documentation

DeviceIndexMapping::DeviceIndexMapping ( int  deviceIndex,
int  indexInDevice 
) [explicit]

Constructor for DeviceIndexMapping


Member Function Documentation

int DeviceIndexMapping::getDeviceIndex (  )  const

Returns the index of the corresponding device

int DeviceIndexMapping::getIndexInDevice (  )  const

Returns the index of the button/axis/sensor in the device

bool DeviceIndexMapping::operator== ( const DeviceIndexMapping rhs  )  const

Comparison operator

void DeviceIndexMapping::setDeviceIndex ( int  deviceIndex  ) 

Sets the index of the device

void DeviceIndexMapping::setIndexInDevice ( int  indexInDevice  ) 

Sets the index of the button/axis/sensor in the device


Member Data Documentation


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

Generated on Wed Oct 20 16:11:55 2010 for inVRs by doxygen 1.5.8