DeviceIndexMapping Class Reference
#include <DeviceIndexMapping.h>
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
int DeviceIndexMapping::deviceIndex [private] |
int DeviceIndexMapping::indexInDevice [private] |
The documentation for this class was generated from the following files:
- src/inVRs/InputInterface/ControllerManager/DeviceIndexMapping.h
- src/inVRs/InputInterface/ControllerManager/DeviceIndexMapping.cpp
Generated on Wed Oct 20 16:11:55 2010 for inVRs by
1.5.8