12 #ifndef CXACQUSITIONSERVICE_H 13 #define CXACQUSITIONSERVICE_H 15 #include "org_custusx_acquisition_Export.h" 19 #include <boost/shared_ptr.hpp> 22 #define AcquisitionService_iid "cx::AcquisitionService" 60 virtual bool isNull() = 0;
61 static AcquisitionServicePtr getNullObject();
63 virtual RecordSessionPtr getLatestSession() = 0;
64 virtual std::vector<RecordSessionPtr> getSessions() = 0;
66 virtual bool isReady(TYPES context)
const = 0;
67 virtual QString getInfoText(TYPES context)
const = 0;
68 virtual STATE getState()
const = 0;
70 virtual void startRecord(TYPES context, QString category, RecordSessionPtr session =
RecordSessionPtr()) = 0;
71 virtual void stopRecord() = 0;
72 virtual void cancelRecord() = 0;
73 virtual void startPostProcessing() = 0;
74 virtual void stopPostProcessing() = 0;
76 virtual int getNumberOfSavingThreads()
const = 0;
80 RecordSessionPtr getSession(QString uid);
86 void usReadinessChanged();
87 void acquisitionStopped();
89 void recordedSessionsChanged();
92 void acquisitionDataReady();
93 void saveDataCompleted(QString mhdFilename);
99 #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.