CustusX  22.04-rc5
An IGT application
cxTrackerConfigurationNull.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 CXTRACKERCONFIGURATIONNULL_H
12 #define CXTRACKERCONFIGURATIONNULL_H
13 
14 #include "cxResourceExport.h"
15 
16 #include "cxTrackerConfiguration.h"
17 
18 namespace cx
19 {
20 class cxResource_EXPORT TrackerConfigurationNull : public TrackerConfiguration
21 {
22 public:
24 
25  virtual QString getConfigurationApplicationsPath() { return ""; }
26  virtual void saveConfiguration(const Configuration& config) {}
27  virtual Configuration getConfiguration(QString uid) { return Configuration(); }
28 
29  virtual QStringList getConfigurationsGivenApplication() { return QStringList(); }
30  virtual QStringList getAllConfigurations() { return QStringList(); }
31 
32  virtual QStringList getSupportedTrackingSystems() { return QStringList(); }
33  virtual QStringList getToolsGivenFilter(QStringList applicationsFilter,
34  QStringList trackingsystemsFilter) { return QStringList(); }
35  virtual QStringList getAllTools() { return QStringList(); }
36  virtual QStringList getAllApplications() { return QStringList(); }
37 
38  virtual Tool getTool(QString uid) { return Tool(); }
39  virtual bool verifyTool(QString uid) { return false; }
40 
41  virtual QString getTrackingSystemImplementation() {return QString();}
42  virtual void setTrackingSystemImplementation(QString trackingSystemSolution) {}
43 
44  virtual bool isNull() { return true; }
45 };
46 } //cx
47 
48 #endif // CXTRACKERCONFIGURATIONNULL_H
virtual Configuration getConfiguration(QString uid)
virtual bool verifyTool(QString uid)
virtual QStringList getSupportedTrackingSystems()
virtual QStringList getConfigurationsGivenApplication()
virtual QString getConfigurationApplicationsPath()
virtual QStringList getToolsGivenFilter(QStringList applicationsFilter, QStringList trackingsystemsFilter)
virtual void setTrackingSystemImplementation(QString trackingSystemSolution)
virtual void saveConfiguration(const Configuration &config)
virtual QStringList getAllConfigurations()
Namespace for all CustusX production code.