Fraxinus  18.10
An IGT application
cxTrackingServiceNull.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 CXTRACKINGSERVICENULL_H
13 #define CXTRACKINGSERVICENULL_H
14 
15 #include "cxResourceExport.h"
16 
17 #include "cxTrackingService.h"
18 
19 namespace cx
20 {
21 
26 class cxResource_EXPORT TrackingServiceNull : public TrackingService
27 {
28 public:
30 
31  virtual Tool::State getState() const;
32  virtual void setState(const Tool::State val);
33 
34  virtual ToolPtr getTool(const QString& uid);
35  virtual ToolPtr getActiveTool();
36  virtual void setActiveTool(const QString& uid);
37  virtual ToolPtr getFirstProbe();
38 
39  virtual ToolPtr getReferenceTool() const;
40  virtual ToolPtr getManualTool();
41 
42  virtual ToolMap getTools();
43 
44  virtual bool isPlaybackMode() const;
45  virtual void setPlaybackMode(PlaybackTimePtr controller);
46 
47  virtual SessionToolHistoryMap getSessionHistory(double startTime, double stopTime);
48  virtual void runDummyTool(DummyToolPtr tool);
49  virtual TrackerConfigurationPtr getConfiguration();
50 
51  virtual void installTrackingSystem(TrackingSystemServicePtr system);
52  virtual void unInstallTrackingSystem(TrackingSystemServicePtr system);
53  virtual std::vector<TrackingSystemServicePtr> getTrackingSystems();
54 
55  virtual bool isNull();
56 private:
57  void printWarning() const;
58 };
59 } //cx
60 #endif // CXTRACKINGSERVICENULL_H
std::map< ToolPtr, TimedTransformMap > SessionToolHistoryMap
boost::shared_ptr< class PlaybackTime > PlaybackTimePtr
boost::shared_ptr< class DummyTool > DummyToolPtr
boost::shared_ptr< class TrackerConfiguration > TrackerConfigurationPtr
Service providing tools and tracking systems.
std::map< QString, ToolPtr > ToolMap
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr
boost::shared_ptr< class TrackingSystemService > TrackingSystemServicePtr