|
bool | doInitialize () override |
|
bool | doStartUp () override |
|
bool | doUpdate (double dt) override |
| Implementation of actual work function for this thread, this has a default implementation to handle destruction better, as it could be called while the thread is under destruction, if left unimplemented this would trigger a call to a pure virtual function. More...
|
|
bool | initialize () |
| Trigger the initialization of this object, this will be called before all other threads doStartup() are called. More...
|
|
bool | startUp () |
| Trigger the startup of this object, this will be called after all other threads doInit() was called the thread will only enter the run loop triggering upated() if all threads doInit() and doStartup() returned true. More...
|
|
bool | waitForBarrier (bool success) |
|
virtual bool | executeInitialization () |
|
§ doUpdate()
bool SurgSim::Devices::ReplayPoseScaffold::doUpdate |
( |
double |
dt | ) |
|
|
overrideprotectedvirtual |
Implementation of actual work function for this thread, this has a default implementation to handle destruction better, as it could be called while the thread is under destruction, if left unimplemented this would trigger a call to a pure virtual function.
- Returns
- false when the thread is done, this will stop execution
Reimplemented from SurgSim::Framework::BasicThread.
§ getOrCreateSharedInstance()
std::shared_ptr< ReplayPoseScaffold > SurgSim::Devices::ReplayPoseScaffold::getOrCreateSharedInstance |
( |
| ) |
|
|
static |
Gets or creates the scaffold shared by all ReplayPoseDevice instances.
The scaffold is managed using a SharedInstance object, so it will be destroyed when all devices are released.
- Returns
- the scaffold object.
The documentation for this class was generated from the following files:
- SurgSim/Devices/ReplayPoseDevice/ReplayPoseScaffold.h
- SurgSim/Devices/ReplayPoseDevice/ReplayPoseScaffold.cpp