CustusX  18.04
An IGT application
cx::OpenIGTLinkTrackingSystemService Class Reference

#include <cxOpenIGTLinkTrackingSystemService.h>

Inheritance diagram for cx::OpenIGTLinkTrackingSystemService:
cx::TrackingSystemService

Signals

void setInternalState (const Tool::State val)
 
- Signals inherited from cx::TrackingSystemService
void stateChanged ()
 

Public Member Functions

 OpenIGTLinkTrackingSystemService (NetworkHandlerPtr networkHandler)
 
virtual ~OpenIGTLinkTrackingSystemService ()
 
virtual QString getUid () const
 
virtual void setState (const Tool::State val)
 asynchronously request a state. Wait for signal stateChanged() More...
 
virtual std::vector< ToolPtrgetTools ()
 
virtual TrackerConfigurationPtr getConfiguration ()
 
virtual ToolPtr getReference ()
 reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices define this tool More...
 
- Public Member Functions inherited from cx::TrackingSystemService
 TrackingSystemService ()
 
virtual ~TrackingSystemService ()
 
virtual Tool::State getState () const
 
virtual void setConfigurationFile (QString configurationFile)
 
virtual void setLoggingFolder (QString loggingFolder)
 

Protected Slots

virtual void configure ()
 sets up the software More...
 
virtual void deconfigure ()
 deconfigures the software More...
 
- 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

void internalSetState (Tool::State val)
 
- Protected Member Functions inherited from cx::TrackingSystemService
virtual bool isConfigured () const
 
virtual bool isInitialized () const
 
virtual bool isTracking () const
 
void internalSetState (Tool::State val)
 

Additional Inherited Members

- 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

Tracking system service that gets tracking information from an OpenIGTLink source

Date
2015-03-03
Author
Janne Beate Bakeng

Definition at line 35 of file cxOpenIGTLinkTrackingSystemService.h.

Constructor & Destructor Documentation

cx::OpenIGTLinkTrackingSystemService::OpenIGTLinkTrackingSystemService ( NetworkHandlerPtr  networkHandler)

Definition at line 35 of file cxOpenIGTLinkTrackingSystemService.cpp.

cx::OpenIGTLinkTrackingSystemService::~OpenIGTLinkTrackingSystemService ( )
virtual

Definition at line 52 of file cxOpenIGTLinkTrackingSystemService.cpp.

Member Function Documentation

void cx::OpenIGTLinkTrackingSystemService::configure ( )
protectedvirtualslot

sets up the software

Definition at line 92 of file cxOpenIGTLinkTrackingSystemService.cpp.

void cx::OpenIGTLinkTrackingSystemService::deconfigure ( )
protectedvirtualslot

deconfigures the software

Definition at line 128 of file cxOpenIGTLinkTrackingSystemService.cpp.

TrackerConfigurationPtr cx::OpenIGTLinkTrackingSystemService::getConfiguration ( )
virtual

Implements cx::TrackingSystemService.

Definition at line 79 of file cxOpenIGTLinkTrackingSystemService.cpp.

ToolPtr cx::OpenIGTLinkTrackingSystemService::getReference ( )
virtual

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

Implements cx::TrackingSystemService.

Definition at line 87 of file cxOpenIGTLinkTrackingSystemService.cpp.

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

Implements cx::TrackingSystemService.

Definition at line 74 of file cxOpenIGTLinkTrackingSystemService.cpp.

QString cx::OpenIGTLinkTrackingSystemService::getUid ( ) const
virtual

Implements cx::TrackingSystemService.

Definition at line 57 of file cxOpenIGTLinkTrackingSystemService.cpp.

void cx::OpenIGTLinkTrackingSystemService::internalSetState ( Tool::State  val)
protected

Definition at line 67 of file cxOpenIGTLinkTrackingSystemService.cpp.

void cx::OpenIGTLinkTrackingSystemService::setInternalState ( const Tool::State  val)
signal
void cx::OpenIGTLinkTrackingSystemService::setState ( const Tool::State  val)
virtual

asynchronously request a state. Wait for signal stateChanged()

Implements cx::TrackingSystemService.

Definition at line 62 of file cxOpenIGTLinkTrackingSystemService.cpp.


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