Fraxinus
2023.01.05-dev+develop.0da12
An IGT application
|
Always provides an AcqusitionService. More...
#include <cxAcquisitionServiceProxy.h>
Public Member Functions | |
AcquisitionServiceProxy (ctkPluginContext *context) | |
~AcquisitionServiceProxy () | |
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< TYPE > | TYPES |
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 () |
Always provides an AcqusitionService.
Use the Proxy design pattern. Uses ServiceTrackerListener to either provide an implementation of AcqusitionService or the null object (AcqusitionServiceNull)
Definition at line 31 of file cxAcquisitionServiceProxy.h.
cx::AcquisitionServiceProxy::AcquisitionServiceProxy | ( | ctkPluginContext * | context | ) |
Definition at line 27 of file cxAcquisitionServiceProxy.cpp.
|
inline |
Definition at line 37 of file cxAcquisitionServiceProxy.h.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 125 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 105 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 90 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 140 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 95 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 110 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 85 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 100 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 130 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 115 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 135 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 120 of file cxAcquisitionServiceProxy.cpp.