16 #ifndef SURGSIM_DEVICES_SIXENSE_SIXENSESCAFFOLD_H 17 #define SURGSIM_DEVICES_SIXENSE_SIXENSESCAFFOLD_H 21 #include "SurgSim/Framework/Logger.h" 22 #include "SurgSim/DataStructures/DataGroup.h" 98 bool findUnusedDeviceAndRegister(
SixenseDevice* device,
int* numUsedDevicesSeen,
bool* fatalError);
108 bool registerIfUnused(
int baseIndex,
int controllerIndex,
SixenseDevice* device,
int* numUsedDevicesSeen);
117 bool destroyThread();
125 std::shared_ptr<SurgSim::Framework::Logger> m_logger;
127 std::unique_ptr<StateData> m_state;
130 static int m_startupDelayMilliseconds;
132 static int m_startupRetryIntervalMilliseconds;
138 #endif // SURGSIM_DEVICES_SIXENSE_SIXENSESCAFFOLD_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A class that manages Sixense devices, such as the Razer Hydra.
Definition: SixenseScaffold.h:35
static std::shared_ptr< SixenseScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all SixenseDevice instances.
Definition: SixenseScaffold.cpp:468
Definition: SixenseScaffold.cpp:76
A class implementing the communication with one Sixense controller, for example one of the two on the...
Definition: SixenseDevice.h:53
A collection of NamedData objects.
Definition: DataGroup.h:68
~SixenseScaffold()
Destructor.
Definition: SixenseScaffold.cpp:110
A class implementing the thread context for sampling Sixense devices.
Definition: SixenseThread.h:33
Definition: SixenseScaffold.cpp:52