CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::TrackingSystemDummyService Class Reference

Interface towards a dummy tracking system. More...

#include <cxTrackingSystemDummyService.h>

Inheritance diagram for cx::TrackingSystemDummyService:
cx::TrackingSystemService

Public Member Functions

 TrackingSystemDummyService (DummyToolPtr tool)
 
virtual ~TrackingSystemDummyService ()
 
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 ()
 
- 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...
 

Detailed Description

Interface towards a dummy tracking system.

Date
2014-11-01
Author
Christian Askeland, SINTEF

Definition at line 27 of file cxTrackingSystemDummyService.h.

Constructor & Destructor Documentation

cx::TrackingSystemDummyService::TrackingSystemDummyService ( DummyToolPtr  tool)

Definition at line 20 of file cxTrackingSystemDummyService.cpp.

cx::TrackingSystemDummyService::~TrackingSystemDummyService ( )
virtual

Definition at line 31 of file cxTrackingSystemDummyService.cpp.

Member Function Documentation

TrackerConfigurationPtr cx::TrackingSystemDummyService::getConfiguration ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 79 of file cxTrackingSystemDummyService.cpp.

virtual ToolPtr cx::TrackingSystemDummyService::getReference ( )
inlinevirtual

reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool

Implements cx::TrackingSystemService.

Definition at line 37 of file cxTrackingSystemDummyService.h.

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

Reimplemented from cx::TrackingSystemService.

Definition at line 43 of file cxTrackingSystemDummyService.cpp.

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

Implements cx::TrackingSystemService.

Definition at line 36 of file cxTrackingSystemDummyService.cpp.

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

Implements cx::TrackingSystemService.

Definition at line 35 of file cxTrackingSystemDummyService.h.

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

Reimplemented from cx::TrackingSystemService.

Definition at line 74 of file cxTrackingSystemDummyService.cpp.

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

asynchronously request a state. Wait for signal stateChanged()

Implements cx::TrackingSystemService.

Definition at line 48 of file cxTrackingSystemDummyService.cpp.


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