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

Implementation for Acqusition service. More...

#include <cxAcquisitionImplService.h>

Inheritance diagram for cx::AcquisitionImplService:
cx::AcquisitionService

Public Member Functions

 AcquisitionImplService (ctkPluginContext *context)
 
virtual ~AcquisitionImplService ()
 
virtual bool isNull ()
 
virtual RecordSessionPtr getLatestSession ()
 
virtual std::vector< RecordSessionPtrgetSessions ()
 
virtual bool isReady (TYPES context) const
 
virtual QString getInfoText (TYPES context) const
 
virtual STATE getState () const
 
virtual void startRecord (TYPES context, QString category, RecordSessionPtr session)
 
virtual void stopRecord ()
 
virtual void cancelRecord ()
 
virtual void startPostProcessing ()
 
virtual void stopPostProcessing ()
 
virtual int getNumberOfSavingThreads () const
 
- Public Member Functions inherited from cx::AcquisitionService
virtual ~AcquisitionService ()
 
RecordSessionPtr getSession (QString uid)
 

Additional Inherited Members

- Public Types inherited from cx::AcquisitionService
enum  TYPE { tTRACKING, tUS, tCOUNT }
 
enum  STATE { sRUNNING = 0, sPOST_PROCESSING = 1, sNOT_RUNNING = 2 }
 
typedef QFlags< TYPETYPES
 
- Signals inherited from cx::AcquisitionService
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...
 
- Static Public Member Functions inherited from cx::AcquisitionService
static AcquisitionServicePtr getNullObject ()
 

Detailed Description

Implementation for Acqusition service.

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

Definition at line 35 of file cxAcquisitionImplService.h.

Constructor & Destructor Documentation

cx::AcquisitionImplService::AcquisitionImplService ( ctkPluginContext *  context)

Definition at line 25 of file cxAcquisitionImplService.cpp.

cx::AcquisitionImplService::~AcquisitionImplService ( )
virtual

Definition at line 51 of file cxAcquisitionImplService.cpp.

Member Function Documentation

void cx::AcquisitionImplService::cancelRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 129 of file cxAcquisitionImplService.cpp.

QString cx::AcquisitionImplService::getInfoText ( TYPES  context) const
virtual

Implements cx::AcquisitionService.

Definition at line 97 of file cxAcquisitionImplService.cpp.

RecordSessionPtr cx::AcquisitionImplService::getLatestSession ( )
virtual

Implements cx::AcquisitionService.

Definition at line 81 of file cxAcquisitionImplService.cpp.

int cx::AcquisitionImplService::getNumberOfSavingThreads ( ) const
virtual

Implements cx::AcquisitionService.

Definition at line 144 of file cxAcquisitionImplService.cpp.

std::vector< RecordSessionPtr > cx::AcquisitionImplService::getSessions ( )
virtual

Implements cx::AcquisitionService.

Definition at line 86 of file cxAcquisitionImplService.cpp.

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

Implements cx::AcquisitionService.

Definition at line 113 of file cxAcquisitionImplService.cpp.

bool cx::AcquisitionImplService::isNull ( )
virtual

Implements cx::AcquisitionService.

Definition at line 55 of file cxAcquisitionImplService.cpp.

bool cx::AcquisitionImplService::isReady ( TYPES  context) const
virtual

Implements cx::AcquisitionService.

Definition at line 91 of file cxAcquisitionImplService.cpp.

void cx::AcquisitionImplService::startPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 134 of file cxAcquisitionImplService.cpp.

void cx::AcquisitionImplService::startRecord ( TYPES  context,
QString  category,
RecordSessionPtr  session 
)
virtual

Implements cx::AcquisitionService.

Definition at line 118 of file cxAcquisitionImplService.cpp.

void cx::AcquisitionImplService::stopPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 139 of file cxAcquisitionImplService.cpp.

void cx::AcquisitionImplService::stopRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 124 of file cxAcquisitionImplService.cpp.


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