All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
SurgSim::Device::RawMultiAxisScaffold::DeviceData Struct Reference
Collaboration diagram for SurgSim::Device::RawMultiAxisScaffold::DeviceData:
Collaboration graph
[legend]

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 &)
 
DeviceDataoperator= (const DeviceData &)
 

Constructor & Destructor Documentation

SurgSim::Device::RawMultiAxisScaffold::DeviceData::DeviceData ( const std::string &  path,
RawMultiAxisDevice device,
std::unique_ptr< SystemInputDeviceHandle > &&  handle 
)
inline

Initialize the data.

SurgSim::Device::RawMultiAxisScaffold::DeviceData::DeviceData ( DeviceData &&  other)
inline
SurgSim::Device::RawMultiAxisScaffold::DeviceData::~DeviceData ( )
inline
SurgSim::Device::RawMultiAxisScaffold::DeviceData::DeviceData ( const DeviceData )
private

Member Function Documentation

static SurgSim::Math::Matrix33d SurgSim::Device::RawMultiAxisScaffold::DeviceData::defaultCoordinateSystemRotation ( )
inlinestatic
static SystemInputDeviceHandle::AxisStates SurgSim::Device::RawMultiAxisScaffold::DeviceData::initialAxisStates ( )
inlinestatic
static SystemInputDeviceHandle::ButtonStates SurgSim::Device::RawMultiAxisScaffold::DeviceData::initialButtonStates ( )
inlinestatic
DeviceData& SurgSim::Device::RawMultiAxisScaffold::DeviceData::operator= ( const DeviceData )
private

Member Data Documentation

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.


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