33 #ifndef CXACQUSITIONSERVICE_H
34 #define CXACQUSITIONSERVICE_H
36 #include "org_custusx_acquisition_Export.h"
40 #include <boost/shared_ptr.hpp>
43 #define AcquisitionService_iid "cx::AcquisitionService"
72 virtual bool isNull() = 0;
76 virtual std::vector<RecordSessionPtr> getSessions() = 0;
78 virtual bool isReady()
const = 0;
79 virtual QString getInfoText()
const = 0;
80 virtual STATE getState()
const = 0;
81 virtual void toggleRecord() = 0;
82 virtual void startRecord() = 0;
83 virtual void stopRecord() = 0;
84 virtual void cancelRecord() = 0;
85 virtual void startPostProcessing() = 0;
86 virtual void stopPostProcessing() = 0;
88 virtual int getNumberOfSavingThreads()
const = 0;
98 void usReadinessChanged();
99 void acquisitionStopped();
101 void recordedSessionsChanged();
104 void acquisitionDataReady();
105 void saveDataCompleted(QString mhdFilename);
111 #endif // CXACQUSITIONSERVICE_H
Acqusition services abstract interface.
#define AcquisitionService_iid
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class RecordSession > RecordSessionPtr
virtual ~AcquisitionService()