CustusX  18.04-rc1
An IGT application
cxTrackingSystemDummyService.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 #ifndef CXTRACKINGSYSTEMDUMMYSERVICE_H
12 #define CXTRACKINGSYSTEMDUMMYSERVICE_H
13 
14 #include "org_custusx_core_tracking_Export.h"
16 
17 namespace cx
18 {
19 
27 class org_custusx_core_tracking_EXPORT TrackingSystemDummyService : public TrackingSystemService
28 {
29 Q_OBJECT
30 
31 public:
33  virtual ~TrackingSystemDummyService();
34 
35  virtual QString getUid() const { return "org.custusx.core.tracking.system.dummy"; }
36  virtual std::vector<ToolPtr> getTools();
37  virtual ToolPtr getReference() { return ToolPtr(); }
38 
39  virtual Tool::State getState() const;
40  virtual void setState(const Tool::State val);
41 
42  virtual void setLoggingFolder(QString loggingFolder);
43  virtual TrackerConfigurationPtr getConfiguration();
44 
45 private:
46  std::vector<DummyToolPtr> mTools;
47  Tool::State mState;
48 };
49 
50 
51 } // namespace cx
52 
53 
54 #endif // CXTRACKINGSYSTEMDUMMYSERVICE_H
virtual ToolPtr getReference()
reference tool used by entire tracking service - NOTE: system fails if several TrackingSystemServices...
boost::shared_ptr< class DummyTool > DummyToolPtr
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
Tracking System Service.
Interface towards a dummy tracking system.
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr