Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSEDEVICE_H
17 #define SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSEDEVICE_H
29 class ReplayPoseScaffold;
31 SURGSIM_STATIC_REGISTRATION(ReplayPoseDevice);
90 #endif // SURGSIM_DEVICES_REPLAYPOSEDEVICE_REPLAYPOSEDEVICE_H
SURGSIM_CLASSNAME(SurgSim::Devices::ReplayPoseDevice)
void setFileName(const std::string &fileName)
Definition: ReplayPoseDevice.cpp:50
std::shared_ptr< ReplayPoseScaffold > m_scaffold
Definition: ReplayPoseDevice.h:77
void setRate(double rate)
Definition: ReplayPoseDevice.cpp:61
bool initialize() override
Fully initialize the device.
Definition: ReplayPoseDevice.cpp:67
bool isInitialized() const override
Definition: ReplayPoseDevice.cpp:91
double m_rate
The rate to run the device at (i.e.
Definition: ReplayPoseDevice.h:84
A class implementing the replay pose device, which is a pretend device that replays a recorded motion...
Definition: ReplayPoseDevice.h:44
Definition: CompoundShapeToGraphics.cpp:29
virtual ~ReplayPoseDevice()
Definition: ReplayPoseDevice.cpp:37
Definition: ReplayPoseScaffold.h:34
bool finalize() override
Finalize (de-initialize) the device.
Definition: ReplayPoseDevice.cpp:83
const std::string getFileName() const
Definition: ReplayPoseDevice.cpp:45
std::string m_fileName
The filename to read the input transform from.
Definition: ReplayPoseDevice.h:80
double getRate() const
Definition: ReplayPoseDevice.cpp:56
ReplayPoseDevice(const std::string &uniqueName)
Constructor.
Definition: ReplayPoseDevice.cpp:28