![]() |
NorMIT-nav
18.04
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 |
![]() | |
virtual | ~AcquisitionService () |
RecordSessionPtr | getSession (QString uid) |
Additional Inherited Members | |
![]() | |
enum | TYPE { tTRACKING, tUS, tCOUNT } |
enum | STATE { sRUNNING = 0, sPOST_PROCESSING = 1, sNOT_RUNNING = 2 } |
typedef QFlags< TYPE > | TYPES |
![]() | |
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 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.