Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkIInputDeviceRegistry.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKIINPUTDEVICEREGISTRY_H_
18 #define MITKIINPUTDEVICEREGISTRY_H_
19 
20 #include <QtPlugin>
21 
23 
24 namespace mitk
25 {
42  {
43 
52  virtual IInputDeviceDescriptor::Pointer Find(const QString& id) const = 0;
53 
59  virtual QList<IInputDeviceDescriptor::Pointer> GetInputDevices() const = 0;
60 
61  virtual ~IInputDeviceRegistry() {}
62 
63  }; // end struct IInputDeviceRegistry
64 } // end namespace mitk
65 
66 Q_DECLARE_INTERFACE(mitk::IInputDeviceRegistry, "org.mitk.service.IInputDeviceRegistry")
67 
68 #endif /*MITKIINPUTDEVICEREGISTRY_H_*/
virtual IInputDeviceDescriptor::Pointer Find(const QString &id) const =0
DataCollection - Class to facilitate loading/accessing structured data.
virtual QList< IInputDeviceDescriptor::Pointer > GetInputDevices() const =0