16 #ifndef SURGSIM_DEVICES_TRACKIR_TRACKIRSCAFFOLD_H 17 #define SURGSIM_DEVICES_TRACKIR_TRACKIRSCAFFOLD_H 26 namespace DataStructures
44 explicit TrackIRScaffold(std::shared_ptr<SurgSim::Framework::Logger> logger =
nullptr);
51 std::shared_ptr<SurgSim::Framework::Logger> getLogger()
const;
56 static std::shared_ptr<TrackIRScaffold> getOrCreateSharedInstance();
89 void setPositionScale(
const TrackIRDevice* device,
double scale);
93 void setOrientationScale(
const TrackIRDevice* device,
double scale);
129 bool destroyPerDeviceThread(
DeviceData* data);
135 std::shared_ptr<SurgSim::Framework::Logger>
m_logger;
147 #endif // SURGSIM_DEVICES_TRACKIR_TRACKIRSCAFFOLD_H Definition: DriveElementFromInputBehavior.cpp:27
LogLevel
Logging levels.
Definition: Logger.h:36
A class implementing the communication with Natural Point TrackIR camera.
Definition: TrackIRDevice.h:40
Definition: TrackIRScaffold.cpp:49
std::shared_ptr< SurgSim::Framework::Logger > m_logger
Logger used by the scaffold and all devices.
Definition: TrackIRScaffold.h:135
A class implementing the thread context for sampling TrackIR devices.
Definition: TrackIRThread.h:29
std::unique_ptr< StateData > m_state
Internal scaffold state.
Definition: TrackIRScaffold.h:141
A collection of NamedData objects.
Definition: DataGroup.h:66
Definition: TrackIRScaffold.cpp:80
static SurgSim::Framework::LogLevel m_defaultLogLevel
The default logging level.
Definition: TrackIRScaffold.h:138
A class that manages Natural Point TRACKIR devices.
Definition: TrackIRScaffold.h:38