16 #ifndef SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H 17 #define SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H 19 #include <boost/thread/mutex.hpp> 22 #include "SurgSim/DataStructures/DataGroup.h" 23 #include "SurgSim/Framework/BasicThread.h" 24 #include "SurgSim/Framework/Logger.h" 32 class ReplayPoseDevice;
51 bool doInitialize()
override;
52 bool doStartUp()
override;
68 bool unregisterDevice();
79 std::shared_ptr<Framework::Logger> m_logger;
82 boost::mutex m_deviceLock;
85 std::unique_ptr<DeviceData> m_device;
91 #endif // SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H Definition: ReplayPoseScaffold.cpp:93
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
ReplayPoseScaffold()
Constructor.
Definition: ReplayPoseScaffold.cpp:52
static std::shared_ptr< ReplayPoseScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all ReplayPoseDevice instances.
Definition: ReplayPoseScaffold.cpp:68
A collection of NamedData objects.
Definition: DataGroup.h:68
bool doUpdate(double dt) override
Implementation of actual work function for this thread, this has a default implementation to handle d...
Definition: ReplayPoseScaffold.cpp:84
Basic thread implementation, tries to maintain a constant rate, supplies startup an initialization...
Definition: BasicThread.h:48
Definition: ReplayPoseScaffold.h:34
~ReplayPoseScaffold()
Destructor.
Definition: ReplayPoseScaffold.cpp:59
A class implementing the replay pose device, which is a pretend device that replays a recorded motion...
Definition: ReplayPoseDevice.h:46