|
Public Member Functions | |
| DeviceData (const std::string &path, RawMultiAxisDevice *device, std::unique_ptr< SystemInputDeviceHandle > &&handle) | |
| Initialize the data. More... | |
| DeviceData (DeviceData &&other) | |
| ~DeviceData () | |
Static Public Member Functions | |
| static SurgSim::Math::Matrix33d | defaultCoordinateSystemRotation () |
| static SystemInputDeviceHandle::AxisStates | initialAxisStates () |
| static SystemInputDeviceHandle::ButtonStates | initialButtonStates () |
Public Attributes | |
| const std::string | devicePath |
| The system device path corresponding to this device. More... | |
| RawMultiAxisDevice *const | deviceObject |
| The corresponding device object. More... | |
| std::unique_ptr< RawMultiAxisThread > | thread |
| Processing thread. More... | |
| std::unique_ptr< SystemInputDeviceHandle > | deviceHandle |
| Device handle to read from. More... | |
| SystemInputDeviceHandle::AxisStates | axisStates |
| Persistent axis states. More... | |
| SystemInputDeviceHandle::ButtonStates | buttonStates |
| Persistent button states. More... | |
| SurgSim::Math::Matrix33d | coordinateSystemRotation |
| The rotation of the coordinate system (used to reorient, e.g. point +Y up) More... | |
| double | positionScale |
| Scale factor for the position axes. More... | |
| double | orientationScale |
| Scale factor for the orientation axes. More... | |
| bool | useAxisDominance |
| Controls whether dominance will be enabled. More... | |
| boost::mutex | parametersMutex |
| The mutex that protects the externally modifiable parameters. More... | |
Private Member Functions | |
| DeviceData (const DeviceData &) | |
| DeviceData & | operator= (const DeviceData &) |
|
inline |
Initialize the data.
|
inline |
|
inline |
|
private |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
private |
| SystemInputDeviceHandle::AxisStates SurgSim::Device::RawMultiAxisScaffold::DeviceData::axisStates |
Persistent axis states.
| SystemInputDeviceHandle::ButtonStates SurgSim::Device::RawMultiAxisScaffold::DeviceData::buttonStates |
Persistent button states.
| SurgSim::Math::Matrix33d SurgSim::Device::RawMultiAxisScaffold::DeviceData::coordinateSystemRotation |
The rotation of the coordinate system (used to reorient, e.g. point +Y up)
| std::unique_ptr<SystemInputDeviceHandle> SurgSim::Device::RawMultiAxisScaffold::DeviceData::deviceHandle |
Device handle to read from.
| RawMultiAxisDevice* const SurgSim::Device::RawMultiAxisScaffold::DeviceData::deviceObject |
The corresponding device object.
| const std::string SurgSim::Device::RawMultiAxisScaffold::DeviceData::devicePath |
The system device path corresponding to this device.
| double SurgSim::Device::RawMultiAxisScaffold::DeviceData::orientationScale |
Scale factor for the orientation axes.
| boost::mutex SurgSim::Device::RawMultiAxisScaffold::DeviceData::parametersMutex |
The mutex that protects the externally modifiable parameters.
| double SurgSim::Device::RawMultiAxisScaffold::DeviceData::positionScale |
Scale factor for the position axes.
| std::unique_ptr<RawMultiAxisThread> SurgSim::Device::RawMultiAxisScaffold::DeviceData::thread |
Processing thread.
| bool SurgSim::Device::RawMultiAxisScaffold::DeviceData::useAxisDominance |
Controls whether dominance will be enabled.
1.8.11