opensurgsim
Public Member Functions | Public Attributes | List of all members
SurgSim::Devices::KeyboardScaffold::DeviceData Struct Reference

Struct to hold a KeyboardDevice object, a KeyboardHandler object, and a mutex for data passing. More...

Public Member Functions

 DeviceData (KeyboardDevice *device)
 Constructor. More...
 

Public Attributes

KeyboardDevice *const deviceObject
 Device object managed by this scaffold.
 
osg::ref_ptr< OsgKeyboardHandlerkeyboardHandler
 Keyboard Handler to communicate with underneath API.
 
boost::mutex mutex
 The mutex that protects the externally modifiable parameters.
 

Detailed Description

Struct to hold a KeyboardDevice object, a KeyboardHandler object, and a mutex for data passing.

Constructor & Destructor Documentation

§ DeviceData()

SurgSim::Devices::KeyboardScaffold::DeviceData::DeviceData ( KeyboardDevice device)
inlineexplicit

Constructor.

Parameters
deviceDevice to be managed by this scaffold

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