Medical Imaging Interaction Toolkit  2024.06.00
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_*/
org_blueberry_core_runtime_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
berry::IAdapterFactory::~IAdapterFactory
virtual ~IAdapterFactory()
Definition: berryIAdapterFactory.h:38
berry::IAdapterFactory
Definition: berryIAdapterFactory.h:36
berry::IAdaptable
Definition: berryIAdaptable.h:50
berry
Definition: QmitkPropertyItemModel.h:24