![]() |
CustusX
15.4.0-beta
An IGT application
|
#include <cxAcquisitionData.h>
Signals | |
void | stateChanged () |
void | started () |
void | acquisitionStopped () |
void | cancelled () |
Public Member Functions | |
Acquisition (AcquisitionDataPtr pluginData, QObject *parent=0) | |
virtual | ~Acquisition () |
void | toggleRecord () |
void | startRecord () |
void | stopRecord () |
void | cancelRecord () |
void | startPostProcessing () |
void | stopPostProcessing () |
RecordSessionPtr | getLatestSession () |
AcquisitionService::STATE | getState () const |
AcquisitionDataPtr | getPluginData () |
Shared Data and resources for the Acquisition Plugin
Definition at line 102 of file cxAcquisitionData.h.
cx::Acquisition::Acquisition | ( | AcquisitionDataPtr | pluginData, |
QObject * | parent = 0 |
||
) |
Definition at line 160 of file cxAcquisitionData.cpp.
|
virtual |
Definition at line 165 of file cxAcquisitionData.cpp.
|
signal |
emitted when state changes from sRUNNING with valid recording data.
|
signal |
emitted when state changes from sRUNNING without valid recording data.
void cx::Acquisition::cancelRecord | ( | ) |
Cancel recording. Change state to not_running, remove session object.
Definition at line 205 of file cxAcquisitionData.cpp.
|
inline |
Get latest recording session.
NULL if no last recording or the last one was cancelled. If called during a recording it will return the ongoing recording.
Definition at line 139 of file cxAcquisitionData.h.
|
inline |
Definition at line 143 of file cxAcquisitionData.h.
|
inline |
Return the current state
Definition at line 142 of file cxAcquisitionData.h.
|
signal |
emitted when state changes to sRUNNING
void cx::Acquisition::startPostProcessing | ( | ) |
Start post processing. Change state to post_processing.
Definition at line 216 of file cxAcquisitionData.cpp.
void cx::Acquisition::startRecord | ( | ) |
Start recording. Change state to running, create session object.
Definition at line 177 of file cxAcquisitionData.cpp.
|
signal |
Emitted each time start/stop/cancel/startpp/stoppp is called.
void cx::Acquisition::stopPostProcessing | ( | ) |
Stop post processing. Change state to not_running.
Definition at line 221 of file cxAcquisitionData.cpp.
void cx::Acquisition::stopRecord | ( | ) |
Stop recording. Change state to not_running, finalize session object and keep it available.
Definition at line 191 of file cxAcquisitionData.cpp.
void cx::Acquisition::toggleRecord | ( | ) |
Start or stop recording, depending on current state.
Definition at line 169 of file cxAcquisitionData.cpp.