Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
berryIAdapterFactory.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 BERRYIADAPTERFACTORY_H_
14 #define BERRYIADAPTERFACTORY_H_
15 
17 
18 #include <vector>
19 #include <typeinfo>
20 
21 namespace berry {
22 
37 
38  virtual ~IAdapterFactory() {};
39 
69  virtual Object* GetAdapter(IAdaptable* adaptableObject, const std::string& adapterType) = 0;
70 
82  virtual void GetAdapterList(std::vector<const std::type_info&>& adapters) = 0;
83 };
84 
85 }
86 #endif /*BERRYIADAPTERFACTORY_H_*/
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define org_blueberry_core_runtime_EXPORT