Fraxinus
17.12-rc3
An IGT application
|
Acqusition services abstract interface. More...
#include <cxAcquisitionService.h>
Public Types | |
enum | TYPE { tTRACKING, tUS, tCOUNT } |
enum | STATE { sRUNNING = 0, sPOST_PROCESSING = 1, sNOT_RUNNING = 2 } |
typedef QFlags< TYPE > | TYPES |
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< RecordSessionPtr > | getSessions ()=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 () |
Acqusition services abstract interface.
Definition at line 57 of file cxAcquisitionService.h.
typedef QFlags<TYPE> cx::AcquisitionService::TYPES |
Definition at line 69 of file cxAcquisitionService.h.
Enumerator | |
---|---|
sRUNNING | |
sPOST_PROCESSING | |
sNOT_RUNNING |
Definition at line 72 of file cxAcquisitionService.h.
Enumerator | |
---|---|
tTRACKING | |
tUS | |
tCOUNT |
Definition at line 63 of file cxAcquisitionService.h.
|
inlinevirtual |
Definition at line 61 of file cxAcquisitionService.h.
|
signal |
emitted when data is acquired and sent to the reconstruction module
|
signal |
|
signal |
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
static |
Definition at line 42 of file cxAcquisitionService.cpp.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
RecordSessionPtr cx::AcquisitionService::getSession | ( | QString | uid | ) |
Definition at line 50 of file cxAcquisitionService.cpp.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
signal |
|
signal |
emitted when data has been saved to file
|
signal |
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
signal |
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
pure virtual |
Implemented in cx::AcquisitionImplService, cx::AcquisitionServiceProxy, and cx::AcquisitionServiceNull.
|
signal |