NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::AcquisitionService Class Referenceabstract

Acqusition services abstract interface. More...

#include <cxAcquisitionService.h>

Inheritance diagram for cx::AcquisitionService:
cx::AcquisitionImplService cx::AcquisitionServiceNull cx::AcquisitionServiceProxy

Public Types

enum  TYPE { tTRACKING, tUS, tCOUNT }
 
enum  STATE { sRUNNING = 0, sPOST_PROCESSING = 1, sNOT_RUNNING = 2 }
 
typedef QFlags< TYPETYPES
 

Signals

void started ()
 
void cancelled ()
 
void stateChanged ()
 
void usReadinessChanged ()
 
void acquisitionStopped ()
 
void recordedSessionsChanged ()
 
void acquisitionDataReady ()
 emitted when data is acquired and sent to the reconstruction module More...
 
void saveDataCompleted (QString mhdFilename)
 emitted when data has been saved to file More...
 

Public Member Functions

virtual ~AcquisitionService ()
 
virtual bool isNull ()=0
 
virtual RecordSessionPtr getLatestSession ()=0
 
virtual std::vector< RecordSessionPtrgetSessions ()=0
 
virtual bool isReady (TYPES context) const =0
 
virtual QString getInfoText (TYPES context) const =0
 
virtual STATE getState () const =0
 
virtual void startRecord (TYPES context, QString category, RecordSessionPtr session=RecordSessionPtr())=0
 
virtual void stopRecord ()=0
 
virtual void cancelRecord ()=0
 
virtual void startPostProcessing ()=0
 
virtual void stopPostProcessing ()=0
 
virtual int getNumberOfSavingThreads () const =0
 
RecordSessionPtr getSession (QString uid)
 

Static Public Member Functions

static AcquisitionServicePtr getNullObject ()
 

Detailed Description

Acqusition services abstract interface.

Date
2014-11-26
Author
Ole Vegard Solberg, SINTEF

Definition at line 36 of file cxAcquisitionService.h.

Member Typedef Documentation

◆ TYPES

Definition at line 48 of file cxAcquisitionService.h.

Member Enumeration Documentation

◆ STATE

Enumerator
sRUNNING 
sPOST_PROCESSING 
sNOT_RUNNING 

Definition at line 51 of file cxAcquisitionService.h.

◆ TYPE

Enumerator
tTRACKING 
tUS 
tCOUNT 

Definition at line 42 of file cxAcquisitionService.h.

Constructor & Destructor Documentation

◆ ~AcquisitionService()

virtual cx::AcquisitionService::~AcquisitionService ( )
inlinevirtual

Definition at line 40 of file cxAcquisitionService.h.

Member Function Documentation

◆ acquisitionDataReady

void cx::AcquisitionService::acquisitionDataReady ( )
signal

emitted when data is acquired and sent to the reconstruction module

◆ acquisitionStopped

void cx::AcquisitionService::acquisitionStopped ( )
signal

◆ cancelled

void cx::AcquisitionService::cancelled ( )
signal

◆ cancelRecord()

virtual void cx::AcquisitionService::cancelRecord ( )
pure virtual

◆ getInfoText()

virtual QString cx::AcquisitionService::getInfoText ( TYPES  context) const
pure virtual

◆ getLatestSession()

virtual RecordSessionPtr cx::AcquisitionService::getLatestSession ( )
pure virtual

◆ getNullObject()

AcquisitionServicePtr cx::AcquisitionService::getNullObject ( )
static

Definition at line 21 of file cxAcquisitionService.cpp.

◆ getNumberOfSavingThreads()

virtual int cx::AcquisitionService::getNumberOfSavingThreads ( ) const
pure virtual

◆ getSession()

RecordSessionPtr cx::AcquisitionService::getSession ( QString  uid)

Definition at line 29 of file cxAcquisitionService.cpp.

◆ getSessions()

virtual std::vector<RecordSessionPtr> cx::AcquisitionService::getSessions ( )
pure virtual

◆ getState()

virtual STATE cx::AcquisitionService::getState ( ) const
pure virtual

◆ isNull()

virtual bool cx::AcquisitionService::isNull ( )
pure virtual

◆ isReady()

virtual bool cx::AcquisitionService::isReady ( TYPES  context) const
pure virtual

◆ recordedSessionsChanged

void cx::AcquisitionService::recordedSessionsChanged ( )
signal

◆ saveDataCompleted

void cx::AcquisitionService::saveDataCompleted ( QString  mhdFilename)
signal

emitted when data has been saved to file

◆ started

void cx::AcquisitionService::started ( )
signal

◆ startPostProcessing()

virtual void cx::AcquisitionService::startPostProcessing ( )
pure virtual

◆ startRecord()

virtual void cx::AcquisitionService::startRecord ( TYPES  context,
QString  category,
RecordSessionPtr  session = RecordSessionPtr() 
)
pure virtual

◆ stateChanged

void cx::AcquisitionService::stateChanged ( )
signal

◆ stopPostProcessing()

virtual void cx::AcquisitionService::stopPostProcessing ( )
pure virtual

◆ stopRecord()

virtual void cx::AcquisitionService::stopRecord ( )
pure virtual

◆ usReadinessChanged

void cx::AcquisitionService::usReadinessChanged ( )
signal

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