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" 81 virtual bool isNull() = 0;
82 static AcquisitionServicePtr getNullObject();
84 virtual RecordSessionPtr getLatestSession() = 0;
85 virtual std::vector<RecordSessionPtr> getSessions() = 0;
87 virtual bool isReady(TYPES context)
const = 0;
88 virtual QString getInfoText(TYPES context)
const = 0;
89 virtual STATE getState()
const = 0;
91 virtual void startRecord(TYPES context, QString category, RecordSessionPtr session =
RecordSessionPtr()) = 0;
92 virtual void stopRecord() = 0;
93 virtual void cancelRecord() = 0;
94 virtual void startPostProcessing() = 0;
95 virtual void stopPostProcessing() = 0;
97 virtual int getNumberOfSavingThreads()
const = 0;
101 RecordSessionPtr getSession(QString uid);
107 void usReadinessChanged();
108 void acquisitionStopped();
110 void recordedSessionsChanged();
113 void acquisitionDataReady();
114 void saveDataCompleted(QString mhdFilename);
120 #endif // CXACQUSITIONSERVICE_H Acqusition services abstract interface.
#define AcquisitionService_iid
boost::shared_ptr< class AcquisitionService > AcquisitionServicePtr
boost::shared_ptr< class RecordSession > RecordSessionPtr
virtual ~AcquisitionService()
Namespace for all CustusX production code.