Medical Imaging Interaction Toolkit  2016.11.0
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,
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 MITKIINPUTDEVICE_H_
18 #define MITKIINPUTDEVICE_H_
19 
20 #include <berryObject.h>
21 #include <berryMacros.h>
22 
23 #include <vector>
24 
25 namespace mitk
26 {
34  struct IInputDevice : public berry::Object
35  {
36 
38 
39 
42  virtual bool RegisterInputDevice() = 0;
43 
47  virtual bool UnRegisterInputDevice() = 0;
48 
49  virtual ~IInputDevice() {}
50 
51  }; // end struct IInputDevice
52 } // end namespace mitk
53 
54 Q_DECLARE_INTERFACE(mitk::IInputDevice, "org.mitk.IInputDevice")
55 
56 #endif /*MITKIINPUTDEVICE_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
DataCollection - Class to facilitate loading/accessing structured data.
berryObjectMacro(mitk::IInputDevice) virtual bool RegisterInputDevice()=0
virtual bool UnRegisterInputDevice()=0