16 #ifndef SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISSCAFFOLD_H 17 #define SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISSCAFFOLD_H 22 #include "SurgSim/Framework/Logger.h" 23 #include "SurgSim/DataStructures/DataGroup.h" 30 class RawMultiAxisDevice;
31 class RawMultiAxisThread;
32 class SystemInputDeviceHandle;
106 bool findUnusedDeviceAndRegister(
RawMultiAxisDevice* device,
int* numUsedDevicesSeen);
115 bool registerIfUnused(
const std::string& path,
RawMultiAxisDevice* device,
int* numUsedDevicesSeen);
123 bool destroyPerDeviceThread(
DeviceData* data);
127 std::unique_ptr<SystemInputDeviceHandle> openDevice(
const std::string& path);
135 std::shared_ptr<SurgSim::Framework::Logger> m_logger;
137 std::unique_ptr<StateData> m_state;
143 #endif // SURGSIM_DEVICES_MULTIAXIS_RAWMULTIAXISSCAFFOLD_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A class implementing the thread context for sampling RawMultiAxis devices.
Definition: RawMultiAxisThread.h:33
A class that implements the behavior of RawMultiAxisDevice objects.
Definition: RawMultiAxisScaffold.h:37
A class implementing the communication with a multi-axis controller input device, for example a 3DCon...
Definition: RawMultiAxisDevice.h:56
static std::shared_ptr< RawMultiAxisScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all RawMultiAxisDevice instances.
Definition: RawMultiAxisScaffold.cpp:559
~RawMultiAxisScaffold()
Destructor.
Definition: RawMultiAxisScaffold.cpp:180
A collection of NamedData objects.
Definition: DataGroup.h:68
Definition: RawMultiAxisScaffold.cpp:152
Definition: RawMultiAxisScaffold.cpp:59
RawMultiAxisScaffold()
Constructor.
Definition: RawMultiAxisScaffold.cpp:173