00001 /*========================================================================= 00002 00003 Program: BlueBerry Platform 00004 Language: C++ 00005 Date: $Date: 2010-01-16 19:57:43 +0100 (Sat, 16 Jan 2010) $ 00006 Version: $Revision: 21070 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef MITKIINPUTDEVICEDESCRIPTOR_H_ 00019 #define MITKIINPUTDEVICEDESCRIPTOR_H_ 00020 00021 #include <berryObject.h> 00022 #include <berryMacros.h> 00023 00024 #include <string> 00025 #include <vector> 00026 00027 #include "mitkIInputDevice.h" 00028 00029 namespace mitk 00030 { 00045 struct IInputDeviceDescriptor : public berry::Object 00046 { 00047 00048 berryInterfaceMacro(IInputDeviceDescriptor, mitk); 00049 00055 virtual IInputDevice::Pointer CreateInputDevice() = 0; 00056 00062 virtual std::string GetDescription() const = 0; 00063 00069 virtual std::string GetID() const = 0; 00070 00076 virtual std::string GetName() const = 0; 00077 00078 // /** 00079 // * Returns the descriptor for the icon to show for this view. 00080 // */ 00081 //virtual SmartPointer<ImageDescriptor> GetImageDescriptor() const = 0; 00082 00090 virtual bool operator==(const Object* object) const = 0; 00091 00092 }; // end struct IInputDeviceDescriptor 00093 } //end namespace mitk 00094 00095 #endif /*MITKIINPUTDEVICEDESCRIPTOR_H_*/