16 #ifndef SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H 17 #define SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H 19 #include <boost/thread/mutex.hpp> 32 class ReplayPoseDevice;
91 #endif // SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSESCAFFOLD_H Definition: ReplayPoseScaffold.cpp:91
Definition: CompoundShapeToGraphics.cpp:29
ReplayPoseScaffold()
Constructor.
Definition: ReplayPoseScaffold.cpp:50
static DataStructures::DataGroup buildDeviceInputData()
Builds the data layout for the application input (i.e. device output).
Definition: ReplayPoseScaffold.cpp:273
bool doInitialize() override
Definition: ReplayPoseScaffold.cpp:72
bool unregisterDevice()
Unregisters the specified device object.
Definition: ReplayPoseScaffold.cpp:243
bool updateDevice(ReplayPoseScaffold::DeviceData *info)
Updates the device information for a single device.
Definition: ReplayPoseScaffold.cpp:258
bool registerDevice(ReplayPoseDevice *device)
Registers the specified device object.
Definition: ReplayPoseScaffold.cpp:207
static std::shared_ptr< ReplayPoseScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all RawMultiAxisDevice instances.
Definition: ReplayPoseScaffold.cpp:66
boost::mutex m_deviceLock
The ReplayPose device locking mechanism.
Definition: ReplayPoseScaffold.h:82
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:82
Basic thread implementation, tries to maintain a constant rate, supplies startup an initialization...
Definition: BasicThread.h:48
Definition: ReplayPoseScaffold.h:34
std::unique_ptr< DeviceData > m_device
The ReplayPose device managed by this scaffold.
Definition: ReplayPoseScaffold.h:85
~ReplayPoseScaffold()
Destructor.
Definition: ReplayPoseScaffold.cpp:57
bool doStartUp() override
Definition: ReplayPoseScaffold.cpp:77
A class implementing the replay pose device, which is a pretend device that replays a recorded motion...
Definition: ReplayPoseDevice.h:44
std::shared_ptr< Framework::Logger > m_logger
Logger used by the scaffold and all devices.
Definition: ReplayPoseScaffold.h:79