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

Null object pattern for Acqusition service. More...

#include <cxAcquisitionServiceNull.h>

Inheritance diagram for cx::AcquisitionServiceNull:
cx::AcquisitionService

Public Member Functions

 AcquisitionServiceNull ()
 
 ~AcquisitionServiceNull ()
 
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

Null object pattern for Acqusition service.

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

Definition at line 26 of file cxAcquisitionServiceNull.h.

Constructor & Destructor Documentation

◆ AcquisitionServiceNull()

cx::AcquisitionServiceNull::AcquisitionServiceNull ( )

Definition at line 18 of file cxAcquisitionServiceNull.cpp.

◆ ~AcquisitionServiceNull()

cx::AcquisitionServiceNull::~AcquisitionServiceNull ( )
inline

Definition at line 30 of file cxAcquisitionServiceNull.h.

Member Function Documentation

◆ cancelRecord()

void cx::AcquisitionServiceNull::cancelRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 67 of file cxAcquisitionServiceNull.cpp.

◆ getInfoText()

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

Implements cx::AcquisitionService.

Definition at line 45 of file cxAcquisitionServiceNull.cpp.

◆ getLatestSession()

RecordSessionPtr cx::AcquisitionServiceNull::getLatestSession ( )
virtual

Implements cx::AcquisitionService.

Definition at line 27 of file cxAcquisitionServiceNull.cpp.

◆ getNumberOfSavingThreads()

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

Implements cx::AcquisitionService.

Definition at line 82 of file cxAcquisitionServiceNull.cpp.

◆ getSessions()

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

Implements cx::AcquisitionService.

Definition at line 33 of file cxAcquisitionServiceNull.cpp.

◆ getState()

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

Implements cx::AcquisitionService.

Definition at line 51 of file cxAcquisitionServiceNull.cpp.

◆ isNull()

bool cx::AcquisitionServiceNull::isNull ( )
virtual

Implements cx::AcquisitionService.

Definition at line 22 of file cxAcquisitionServiceNull.cpp.

◆ isReady()

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

Implements cx::AcquisitionService.

Definition at line 39 of file cxAcquisitionServiceNull.cpp.

◆ startPostProcessing()

void cx::AcquisitionServiceNull::startPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 72 of file cxAcquisitionServiceNull.cpp.

◆ startRecord()

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

Implements cx::AcquisitionService.

Definition at line 57 of file cxAcquisitionServiceNull.cpp.

◆ stopPostProcessing()

void cx::AcquisitionServiceNull::stopPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 77 of file cxAcquisitionServiceNull.cpp.

◆ stopRecord()

void cx::AcquisitionServiceNull::stopRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 62 of file cxAcquisitionServiceNull.cpp.


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