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