CustusX
20.03-rc1
An IGT application
|
Tracking System Service. More...
#include <cxTrackingSystemService.h>
Signals | |
void | stateChanged () |
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) |
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 57 of file cxTrackingSystemService.h.
|
inlineprotectedvirtualslot |
deconfigures the software
Definition at line 56 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::TrackingSystemIGSTKService, cx::OpenIGTLinkTrackingSystemService, cx::TrackingSystemPlaybackService, and cx::TrackingSystemDummyService.
|
virtual |
Reimplemented in 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.
|
virtual |
Definition at line 44 of file cxTrackingSystemService.cpp.
|
virtual |
loggingFolder | path to the folder where logs should be saved |
Reimplemented in 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::TrackingSystemIGSTKService, cx::TrackingSystemPlaybackService, cx::OpenIGTLinkTrackingSystemService, and cx::TrackingSystemDummyService.
|
protectedvirtualslot |
starts tracking
Definition at line 104 of file cxTrackingSystemService.cpp.
|
signal |
|
protectedvirtualslot |
stops tracking
Definition at line 110 of file cxTrackingSystemService.cpp.
|
protectedvirtualslot |
disconnects from the hardware
Definition at line 101 of file cxTrackingSystemService.cpp.
|
protected |
path to the configuration file
Definition at line 65 of file cxTrackingSystemService.h.
|
protected |
path to where logging should be saved
Definition at line 66 of file cxTrackingSystemService.h.
|
protected |
Definition at line 64 of file cxTrackingSystemService.h.