CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TrackingSystemPlaybackService Class Reference

Interface towards a playback tracking system.Wraps another tracking system, enabling playback of the tools in that system. More...

#include <cxTrackingSystemPlaybackService.h>

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

Public Member Functions

 TrackingSystemPlaybackService (PlaybackTimePtr controller, 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 ()
 
TrackingSystemServicePtr getBase ()
 
- Public Member Functions inherited from cx::TrackingSystemService
virtual ~TrackingSystemService ()
 

Additional Inherited Members

- Signals inherited from cx::TrackingSystemService
void stateChanged ()
 

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 56 of file cxTrackingSystemPlaybackService.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file cxTrackingSystemPlaybackService.cpp.

cx::TrackingSystemPlaybackService::~TrackingSystemPlaybackService ( )
virtual

Definition at line 55 of file cxTrackingSystemPlaybackService.cpp.

Member Function Documentation

TrackingSystemServicePtr cx::TrackingSystemPlaybackService::getBase ( )
inline

Definition at line 74 of file cxTrackingSystemPlaybackService.h.

TrackerConfigurationPtr cx::TrackingSystemPlaybackService::getConfiguration ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 167 of file cxTrackingSystemPlaybackService.cpp.

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 66 of file cxTrackingSystemPlaybackService.h.

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

Implements cx::TrackingSystemService.

Definition at line 136 of file cxTrackingSystemPlaybackService.cpp.

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

Implements cx::TrackingSystemService.

Definition at line 129 of file cxTrackingSystemPlaybackService.cpp.

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

Implements cx::TrackingSystemService.

Definition at line 64 of file cxTrackingSystemPlaybackService.h.

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

Implements cx::TrackingSystemService.

Definition at line 162 of file cxTrackingSystemPlaybackService.cpp.

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

asynchronously request a state. Wait for signal stateChanged()

Implements cx::TrackingSystemService.

Definition at line 146 of file cxTrackingSystemPlaybackService.cpp.


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