Medical Imaging Interaction Toolkit  2021.10.99-fd647480
Medical Imaging Interaction Toolkit
mitkIInputDevice.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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef MITKIINPUTDEVICE_H_
14 #define MITKIINPUTDEVICE_H_
15 
16 #include <berryObject.h>
17 #include <berryMacros.h>
18 
19 #include <vector>
20 
21 namespace mitk
22 {
30  struct IInputDevice : public berry::Object
31  {
32 
34 
38  virtual bool RegisterInputDevice() = 0;
39 
43  virtual bool UnRegisterInputDevice() = 0;
44 
45  ~IInputDevice() override {}
46 
47  }; // end struct IInputDevice
48 } // end namespace mitk
49 
50 Q_DECLARE_INTERFACE(mitk::IInputDevice, "org.mitk.IInputDevice")
51 
52 #endif /*MITKIINPUTDEVICE_H_*/
~IInputDevice() override
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berryObjectMacro(mitk::IInputDevice)
DataCollection - Class to facilitate loading/accessing structured data.
virtual bool RegisterInputDevice()=0
virtual bool UnRegisterInputDevice()=0