NorMIT-nav
16.5
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 52 of file cxAcquisitionServiceProxy.h.
cx::AcquisitionServiceProxy::AcquisitionServiceProxy | ( | ctkPluginContext * | context | ) |
Definition at line 48 of file cxAcquisitionServiceProxy.cpp.
|
inline |
Definition at line 58 of file cxAcquisitionServiceProxy.h.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 146 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 126 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 111 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 161 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 116 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 131 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 106 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 121 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 151 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 136 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 156 of file cxAcquisitionServiceProxy.cpp.
|
virtual |
Implements cx::AcquisitionService.
Definition at line 141 of file cxAcquisitionServiceProxy.cpp.