CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
Interface towards a playback tracking system.Wraps another tracking system, enabling playback of the tools in that system. More...
#include <cxTrackingSystemPlaybackService.h>
Public Slots | |
void | onActiveToolChanged (const QString &uId) |
Public Member Functions | |
TrackingSystemPlaybackService (PlaybackTimePtr controller, std::vector< TrackingSystemServicePtr > base, ManualToolPtr manual) | |
virtual | ~TrackingSystemPlaybackService () |
virtual QString | getUid () const |
virtual std::vector< ToolPtr > | getTools () |
virtual ToolPtr | getReference () |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool More... | |
virtual Tool::State | getState () const |
virtual void | setState (const Tool::State val) |
asynchronously request a state. Wait for signal stateChanged() More... | |
virtual void | setLoggingFolder (QString loggingFolder) |
virtual TrackerConfigurationPtr | getConfiguration () |
std::vector< TrackingSystemServicePtr > | getBase () |
Public Member Functions inherited from cx::TrackingSystemService | |
TrackingSystemService () | |
virtual | ~TrackingSystemService () |
virtual void | setConfigurationFile (QString configurationFile) |
virtual void | resetTimeSynchronization () |
Additional Inherited Members | |
Signals inherited from cx::TrackingSystemService | |
void | stateChanged () |
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService. More... | |
void | updateTrackingSystemImplementation (QString trackingSystemImplementation) |
Protected Slots inherited from cx::TrackingSystemService | |
virtual void | deconfigure () |
deconfigures the software More... | |
virtual void | configure () |
sets up the software More... | |
virtual void | initialize () |
connects to the hardware More... | |
virtual void | uninitialize () |
disconnects from the hardware More... | |
virtual void | startTracking () |
starts tracking More... | |
virtual void | stopTracking () |
stops tracking More... | |
Protected Member Functions inherited from cx::TrackingSystemService | |
virtual bool | isConfigured () const |
virtual bool | isInitialized () const |
virtual bool | isTracking () const |
void | internalSetState (Tool::State val) |
Protected Attributes inherited from cx::TrackingSystemService | |
Tool::State | mState |
QString | mConfigurationFilePath |
path to the configuration file More... | |
QString | mLoggingFolder |
path to where logging should be saved More... | |
Interface towards a playback tracking system.
Wraps another tracking system, enabling playback of the tools in that system.
The original tools are wrapped by playback tools. The original ones are not changed, only their movement is ignored.
Definition at line 35 of file cxTrackingSystemPlaybackService.h.
cx::TrackingSystemPlaybackService::TrackingSystemPlaybackService | ( | PlaybackTimePtr | controller, |
std::vector< TrackingSystemServicePtr > | base, | ||
ManualToolPtr | manual | ||
) |
Definition at line 26 of file cxTrackingSystemPlaybackService.cpp.
|
virtual |
Definition at line 35 of file cxTrackingSystemPlaybackService.cpp.
|
inline |
Definition at line 53 of file cxTrackingSystemPlaybackService.h.
|
virtual |
Implements cx::TrackingSystemService.
Definition at line 160 of file cxTrackingSystemPlaybackService.cpp.
|
inlinevirtual |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool
Implements cx::TrackingSystemService.
Definition at line 45 of file cxTrackingSystemPlaybackService.h.
|
virtual |
Reimplemented from cx::TrackingSystemService.
Definition at line 129 of file cxTrackingSystemPlaybackService.cpp.
|
virtual |
Implements cx::TrackingSystemService.
Definition at line 122 of file cxTrackingSystemPlaybackService.cpp.
|
inlinevirtual |
Implements cx::TrackingSystemService.
Definition at line 43 of file cxTrackingSystemPlaybackService.h.
|
slot |
Definition at line 175 of file cxTrackingSystemPlaybackService.cpp.
|
virtual |
loggingFolder | path to the folder where logs should be saved |
Reimplemented from cx::TrackingSystemService.
Definition at line 155 of file cxTrackingSystemPlaybackService.cpp.
|
virtual |
asynchronously request a state. Wait for signal stateChanged()
Implements cx::TrackingSystemService.
Definition at line 139 of file cxTrackingSystemPlaybackService.cpp.