NorMIT-nav  22.09
An IGT application
cx::TrackingSystemPlaybackService Class Reference

Interface towards a playback tracking system. More...

#include <cxTrackingSystemPlaybackService.h>

Inheritance diagram for cx::TrackingSystemPlaybackService:
cx::TrackingSystemService

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< ToolPtrgetTools ()
 
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< TrackingSystemServicePtrgetBase ()
 
- 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 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...
 

Detailed Description

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.

Date
2014-11-01
Author
Christian Askeland, SINTEF

Definition at line 35 of file cxTrackingSystemPlaybackService.h.

Constructor & Destructor Documentation

◆ TrackingSystemPlaybackService()

cx::TrackingSystemPlaybackService::TrackingSystemPlaybackService ( PlaybackTimePtr  controller,
std::vector< TrackingSystemServicePtr base,
ManualToolPtr  manual 
)

Definition at line 26 of file cxTrackingSystemPlaybackService.cpp.

◆ ~TrackingSystemPlaybackService()

cx::TrackingSystemPlaybackService::~TrackingSystemPlaybackService ( )
virtual

Definition at line 35 of file cxTrackingSystemPlaybackService.cpp.

Member Function Documentation

◆ getBase()

std::vector<TrackingSystemServicePtr> cx::TrackingSystemPlaybackService::getBase ( )
inline

Definition at line 53 of file cxTrackingSystemPlaybackService.h.

◆ getConfiguration()

TrackerConfigurationPtr cx::TrackingSystemPlaybackService::getConfiguration ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 160 of file cxTrackingSystemPlaybackService.cpp.

◆ getReference()

virtual ToolPtr cx::TrackingSystemPlaybackService::getReference ( )
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.

◆ getState()

Tool::State cx::TrackingSystemPlaybackService::getState ( ) const
virtual

Reimplemented from cx::TrackingSystemService.

Definition at line 129 of file cxTrackingSystemPlaybackService.cpp.

◆ getTools()

std::vector< ToolPtr > cx::TrackingSystemPlaybackService::getTools ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 122 of file cxTrackingSystemPlaybackService.cpp.

◆ getUid()

virtual QString cx::TrackingSystemPlaybackService::getUid ( ) const
inlinevirtual

Implements cx::TrackingSystemService.

Definition at line 43 of file cxTrackingSystemPlaybackService.h.

◆ onActiveToolChanged

void cx::TrackingSystemPlaybackService::onActiveToolChanged ( const QString &  uId)
slot

Definition at line 175 of file cxTrackingSystemPlaybackService.cpp.

◆ setLoggingFolder()

void cx::TrackingSystemPlaybackService::setLoggingFolder ( QString  loggingFolder)
virtual
Parameters
loggingFolderpath to the folder where logs should be saved

Reimplemented from cx::TrackingSystemService.

Definition at line 155 of file cxTrackingSystemPlaybackService.cpp.

◆ setState()

void cx::TrackingSystemPlaybackService::setState ( const Tool::State  val)
virtual

asynchronously request a state. Wait for signal stateChanged()

Implements cx::TrackingSystemService.

Definition at line 139 of file cxTrackingSystemPlaybackService.cpp.


The documentation for this class was generated from the following files: