NorMIT-nav  2023.01.05-dev+develop.0da12
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
cx::TrackerConfigurationNull::getConfiguration
virtual Configuration getConfiguration(QString uid)
Definition: cxTrackerConfigurationNull.h:27
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::TrackerConfigurationNull::getAllApplications
virtual QStringList getAllApplications()
Definition: cxTrackerConfigurationNull.h:36
cx::TrackerConfiguration
Definition: cxTrackerConfiguration.h:33
cx::TrackerConfigurationNull
Definition: cxTrackerConfigurationNull.h:20
cx::TrackerConfigurationNull::getTool
virtual Tool getTool(QString uid)
Definition: cxTrackerConfigurationNull.h:38
cx::TrackerConfigurationNull::getConfigurationsGivenApplication
virtual QStringList getConfigurationsGivenApplication()
Definition: cxTrackerConfigurationNull.h:29
cx::TrackerConfigurationNull::getAllTools
virtual QStringList getAllTools()
Definition: cxTrackerConfigurationNull.h:35
cx::TrackerConfigurationNull::TrackerConfigurationNull
TrackerConfigurationNull()
Definition: cxTrackerConfigurationNull.h:23
cx::TrackerConfigurationNull::saveConfiguration
virtual void saveConfiguration(const Configuration &config)
Definition: cxTrackerConfigurationNull.h:26
cx::TrackerConfigurationNull::isNull
virtual bool isNull()
Definition: cxTrackerConfigurationNull.h:44
cx::TrackerConfigurationNull::getToolsGivenFilter
virtual QStringList getToolsGivenFilter(QStringList applicationsFilter, QStringList trackingsystemsFilter)
Definition: cxTrackerConfigurationNull.h:33
cx::TrackerConfigurationNull::getTrackingSystemImplementation
virtual QString getTrackingSystemImplementation()
Definition: cxTrackerConfigurationNull.h:41
cx::TrackerConfigurationNull::setTrackingSystemImplementation
virtual void setTrackingSystemImplementation(QString trackingSystemSolution)
Definition: cxTrackerConfigurationNull.h:42
cx::TrackerConfiguration::Tool
Definition: cxTrackerConfiguration.h:48
cx::TrackerConfigurationNull::getConfigurationApplicationsPath
virtual QString getConfigurationApplicationsPath()
Definition: cxTrackerConfigurationNull.h:25
cx::TrackerConfigurationNull::getAllConfigurations
virtual QStringList getAllConfigurations()
Definition: cxTrackerConfigurationNull.h:30
cxTrackerConfiguration.h
cx::TrackerConfigurationNull::verifyTool
virtual bool verifyTool(QString uid)
Definition: cxTrackerConfigurationNull.h:39
cx::TrackerConfiguration::Configuration
Definition: cxTrackerConfiguration.h:36
cx::TrackerConfigurationNull::getSupportedTrackingSystems
virtual QStringList getSupportedTrackingSystems()
Definition: cxTrackerConfigurationNull.h:32