Fraxinus
2023.01.05-dev+develop.0da12
An IGT application
|
Tracking System Service. More...
#include <cxTrackingSystemService.h>
Signals | |
void | stateChanged () |
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService. More... | |
void | updateTrackingSystemImplementation (QString trackingSystemImplementation) |
Public Member Functions | |
TrackingSystemService () | |
virtual | ~TrackingSystemService () |
virtual QString | getUid () const =0 |
virtual Tool::State | getState () const |
virtual void | setState (const Tool::State val)=0 |
asynchronously request a state. Wait for signal stateChanged() More... | |
virtual std::vector< ToolPtr > | getTools ()=0 |
virtual TrackerConfigurationPtr | getConfiguration ()=0 |
virtual ToolPtr | getReference ()=0 |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool More... | |
virtual void | setConfigurationFile (QString configurationFile) |
virtual void | setLoggingFolder (QString loggingFolder) |
virtual void | resetTimeSynchronization () |
Protected Slots | |
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 | |
virtual bool | isConfigured () const |
virtual bool | isInitialized () const |
virtual bool | isTracking () const |
void | internalSetState (Tool::State val) |
Protected Attributes | |
Tool::State | mState |
QString | mConfigurationFilePath |
path to the configuration file More... | |
QString | mLoggingFolder |
path to where logging should be saved More... | |
Tracking System Service.
Represents one tracking system consisting of a collection of tools. Several such may exist.
Definition at line 35 of file cxTrackingSystemService.h.
cx::TrackingSystemService::TrackingSystemService | ( | ) |
Definition at line 17 of file cxTrackingSystemService.cpp.
|
inlinevirtual |
Definition at line 40 of file cxTrackingSystemService.h.
|
inlineprotectedvirtualslot |
sets up the software
Definition at line 60 of file cxTrackingSystemService.h.
|
inlineprotectedvirtualslot |
deconfigures the software
Definition at line 59 of file cxTrackingSystemService.h.
|
pure virtual |
|
pure virtual |
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool
Implemented in cx::TrackingSystemBronchoscopyService, cx::TrackingSystemIGSTKService, cx::OpenIGTLinkTrackingSystemService, cx::TrackingSystemPlaybackService, and cx::TrackingSystemDummyService.
|
virtual |
Reimplemented in cx::TrackingSystemBronchoscopyService, cx::TrackingSystemPlaybackService, and cx::TrackingSystemDummyService.
Definition at line 24 of file cxTrackingSystemService.cpp.
|
pure virtual |
|
pure virtual |
|
protectedvirtualslot |
connects to the hardware
Definition at line 95 of file cxTrackingSystemService.cpp.
|
protected |
Definition at line 70 of file cxTrackingSystemService.cpp.
|
protectedvirtual |
Definition at line 29 of file cxTrackingSystemService.cpp.
|
protectedvirtual |
Definition at line 34 of file cxTrackingSystemService.cpp.
|
protectedvirtual |
Definition at line 39 of file cxTrackingSystemService.cpp.
|
inlinevirtual |
Reimplemented in cx::OpenIGTLinkTrackingSystemService.
Definition at line 52 of file cxTrackingSystemService.h.
|
virtual |
Definition at line 44 of file cxTrackingSystemService.cpp.
|
virtual |
loggingFolder | path to the folder where logs should be saved |
Reimplemented in cx::TrackingSystemBronchoscopyService, cx::TrackingSystemIGSTKService, cx::TrackingSystemPlaybackService, and cx::TrackingSystemDummyService.
Definition at line 57 of file cxTrackingSystemService.cpp.
|
pure virtual |
asynchronously request a state. Wait for signal stateChanged()
Implemented in cx::TrackingSystemBronchoscopyService, cx::TrackingSystemIGSTKService, cx::TrackingSystemPlaybackService, cx::OpenIGTLinkTrackingSystemService, and cx::TrackingSystemDummyService.
|
protectedvirtualslot |
starts tracking
Definition at line 104 of file cxTrackingSystemService.cpp.
|
signal |
Reset time synchronization. Used for resetting time synchronization of incoming timestamps in OpenIGTLinkTrackingSystemService.
|
protectedvirtualslot |
stops tracking
Definition at line 110 of file cxTrackingSystemService.cpp.
|
protectedvirtualslot |
disconnects from the hardware
Definition at line 101 of file cxTrackingSystemService.cpp.
|
signal |
|
protected |
path to the configuration file
Definition at line 68 of file cxTrackingSystemService.h.
|
protected |
path to where logging should be saved
Definition at line 69 of file cxTrackingSystemService.h.
|
protected |
Definition at line 67 of file cxTrackingSystemService.h.