NorMIT-nav  22.09
An IGT application
cx::Acquisition Class Reference

#include <cxAcquisitionData.h>

Inheritance diagram for cx::Acquisition:

Signals

void stateChanged ()
 
void started ()
 
void acquisitionStopped ()
 
void cancelled ()
 
void readinessChanged ()
 

Public Member Functions

 Acquisition (AcquisitionDataPtr pluginData, QObject *parent=0)
 
virtual ~Acquisition ()
 
bool isReady (AcquisitionService::TYPES) const
 
QString getInfoText (AcquisitionService::TYPES) const
 
void startRecord (AcquisitionService::TYPES context, QString category, RecordSessionPtr session)
 
void stopRecord ()
 
void cancelRecord ()
 
void startPostProcessing ()
 
void stopPostProcessing ()
 
RecordSessionPtr getLatestSession ()
 
AcquisitionService::STATE getState () const
 
AcquisitionDataPtr getPluginData ()
 
AcquisitionService::TYPES getCurrentContext () const
 

Detailed Description

Shared Data and resources for the Acquisition Plugin

Definition at line 82 of file cxAcquisitionData.h.

Constructor & Destructor Documentation

◆ Acquisition()

cx::Acquisition::Acquisition ( AcquisitionDataPtr  pluginData,
QObject *  parent = 0 
)

-----------------------------------------------------—


Definition at line 135 of file cxAcquisitionData.cpp.

◆ ~Acquisition()

cx::Acquisition::~Acquisition ( )
virtual

Definition at line 145 of file cxAcquisitionData.cpp.

Member Function Documentation

◆ acquisitionStopped

void cx::Acquisition::acquisitionStopped ( )
signal

emitted when state changes from sRUNNING with valid recording data.

◆ cancelled

void cx::Acquisition::cancelled ( )
signal

emitted when state changes from sRUNNING without valid recording data.

◆ cancelRecord()

void cx::Acquisition::cancelRecord ( )

Cancel recording. Change state to not_running, remove session object.

Definition at line 242 of file cxAcquisitionData.cpp.

◆ getCurrentContext()

AcquisitionService::TYPES cx::Acquisition::getCurrentContext ( ) const
inline

Definition at line 124 of file cxAcquisitionData.h.

◆ getInfoText()

QString cx::Acquisition::getInfoText ( AcquisitionService::TYPES  context) const

Definition at line 157 of file cxAcquisitionData.cpp.

◆ getLatestSession()

RecordSessionPtr cx::Acquisition::getLatestSession ( )
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 119 of file cxAcquisitionData.h.

◆ getPluginData()

AcquisitionDataPtr cx::Acquisition::getPluginData ( )
inline

Definition at line 123 of file cxAcquisitionData.h.

◆ getState()

AcquisitionService::STATE cx::Acquisition::getState ( ) const
inline

Return the current state

Definition at line 122 of file cxAcquisitionData.h.

◆ isReady()

bool cx::Acquisition::isReady ( AcquisitionService::TYPES  context) const

Definition at line 149 of file cxAcquisitionData.cpp.

◆ readinessChanged

void cx::Acquisition::readinessChanged ( )
signal

Emitted if the readiness of the acq is changed. Use isReady() and getInfoText() get more info.

◆ started

void cx::Acquisition::started ( )
signal

emitted when state changes to sRUNNING

◆ startPostProcessing()

void cx::Acquisition::startPostProcessing ( )

Start post processing. Change state to post_processing.

Definition at line 256 of file cxAcquisitionData.cpp.

◆ startRecord()

void cx::Acquisition::startRecord ( AcquisitionService::TYPES  context,
QString  category,
RecordSessionPtr  session 
)

Start recording. Change state to running, create session object.

Definition at line 205 of file cxAcquisitionData.cpp.

◆ stateChanged

void cx::Acquisition::stateChanged ( )
signal

Emitted each time start/stop/cancel/startpp/stoppp is called.

◆ stopPostProcessing()

void cx::Acquisition::stopPostProcessing ( )

Stop post processing. Change state to not_running.

Definition at line 261 of file cxAcquisitionData.cpp.

◆ stopRecord()

void cx::Acquisition::stopRecord ( )

Stop recording. Change state to not_running, finalize session object and keep it available.

Definition at line 227 of file cxAcquisitionData.cpp.


The documentation for this class was generated from the following files: