opensurgsim
Public Member Functions | Public Attributes | List of all members
SurgSim::Devices::NovintScaffold::StateData Struct Reference

Public Member Functions

 StateData ()
 Initialize the state.
 

Public Attributes

bool isApiInitialized
 True if the API has been initialized (and not finalized).
 
std::unique_ptr< Callbackcallback
 Wrapper for the haptic loop callback handle.
 
std::list< std::unique_ptr< DeviceData > > registeredDevices
 The registered devices.
 
std::unordered_map< std::string, std::shared_ptr< Handle > > serialToHandle
 The map from serial number to Handle for all devices that were available when the SDK was initialized.
 
std::list< std::shared_ptr< Handle > > unregisteredHandles
 List of devices that have been unregistered and should have their forces, torques, and gravity compensation zeroed in the next update. More...
 
std::map< std::string, std::string > nameToSerial
 The map from name to serial number for all devices.
 
boost::mutex mutex
 The mutex that protects the list of registered devices.
 
Framework::Clock::time_point initializationTime
 Time of the initialization of the latest handle.
 
Framework::Timer timer
 Timer to measure update rate.
 
std::shared_ptr< SurgSim::Framework::Loggerlogger
 Logger used by the scaffold and all devices.
 

Member Data Documentation

§ unregisteredHandles

std::list<std::shared_ptr<Handle> > SurgSim::Devices::NovintScaffold::StateData::unregisteredHandles

List of devices that have been unregistered and should have their forces, torques, and gravity compensation zeroed in the next update.


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