NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
< RecordSessionPtr
getSessions ()
 
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 47 of file cxAcquisitionServiceNull.h.

Constructor & Destructor Documentation

cx::AcquisitionServiceNull::AcquisitionServiceNull ( )

Definition at line 39 of file cxAcquisitionServiceNull.cpp.

cx::AcquisitionServiceNull::~AcquisitionServiceNull ( )
inline

Definition at line 51 of file cxAcquisitionServiceNull.h.

Member Function Documentation

void cx::AcquisitionServiceNull::cancelRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 88 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 66 of file cxAcquisitionServiceNull.cpp.

RecordSessionPtr cx::AcquisitionServiceNull::getLatestSession ( )
virtual

Implements cx::AcquisitionService.

Definition at line 48 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 103 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 54 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 72 of file cxAcquisitionServiceNull.cpp.

bool cx::AcquisitionServiceNull::isNull ( )
virtual

Implements cx::AcquisitionService.

Definition at line 43 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 60 of file cxAcquisitionServiceNull.cpp.

void cx::AcquisitionServiceNull::startPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 93 of file cxAcquisitionServiceNull.cpp.

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

Implements cx::AcquisitionService.

Definition at line 78 of file cxAcquisitionServiceNull.cpp.

void cx::AcquisitionServiceNull::stopPostProcessing ( )
virtual

Implements cx::AcquisitionService.

Definition at line 98 of file cxAcquisitionServiceNull.cpp.

void cx::AcquisitionServiceNull::stopRecord ( )
virtual

Implements cx::AcquisitionService.

Definition at line 83 of file cxAcquisitionServiceNull.cpp.


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