Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIAdapterFactory.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
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 BERRYIADAPTERFACTORY_H_
18 #define BERRYIADAPTERFACTORY_H_
19 
21 
22 #include <vector>
23 #include <typeinfo>
24 
25 namespace berry {
26 
41 
42  virtual ~IAdapterFactory() {};
43 
74  virtual Object* GetAdapter(IAdaptable* adaptableObject, const std::string& adapterType) = 0;
75 
87  virtual void GetAdapterList(std::vector<const std::type_info&>& adapters) = 0;
88 };
89 
90 }
91 #endif /*BERRYIADAPTERFACTORY_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define org_blueberry_core_runtime_EXPORT