Fraxinus  18.10
An IGT application
cxAcquisitionServiceNull.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXACQUISITIONSERVICENULL_H
13 #define CXACQUISITIONSERVICENULL_H
14 
15 #include "cxAcquisitionService.h"
16 
17 namespace cx
18 {
19 
26 class org_custusx_acquisition_EXPORT AcquisitionServiceNull : public AcquisitionService
27 {
28 public:
31  virtual bool isNull();
32 
33  virtual RecordSessionPtr getLatestSession();
34  virtual std::vector<RecordSessionPtr> getSessions();
35 
36  virtual bool isReady(TYPES context) const;
37  virtual QString getInfoText(TYPES context) const;
38  virtual STATE getState() const;
39  virtual void startRecord(TYPES context, QString category, RecordSessionPtr session);
40  virtual void stopRecord();
41  virtual void cancelRecord();
42  virtual void startPostProcessing();
43  virtual void stopPostProcessing();
44 
45  virtual int getNumberOfSavingThreads() const;
46 
47 private:
48  void printWarning() const;
49 };
50 
51 }//cx
52 
53 #endif // CXACQUISITIONSERVICENULL_H
Acqusition services abstract interface.
boost::shared_ptr< class RecordSession > RecordSessionPtr
Null object pattern for Acqusition service.
Namespace for all CustusX production code.