Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryPlatformObject.cpp
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
#include "
berryPlatformObject.h
"
14
15
#include "
berryPlatform.h
"
16
#include "
berryIAdapterManager.h
"
17
18
namespace
berry
{
19
20
PlatformObject::PlatformObject
()
21
{
22
}
23
24
Object
*
PlatformObject::GetAdapter
(
const
QString& adapter)
const
25
{
26
IAdapterManager
* adapterManager =
Platform::GetAdapterManager
();
27
if
(adapterManager)
28
{
29
return
adapterManager->
GetAdapter
(
this
, adapter);
30
}
31
else
32
{
33
return
nullptr
;
34
}
35
}
36
37
}
berry
Definition:
QmitkPropertyItemModel.h:23
berry::IAdaptable::GetAdapter
A * GetAdapter()
Definition:
berryIAdaptable.h:68
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IAdapterManager::GetAdapter
A * GetAdapter(const Object *adaptable)
Definition:
berryIAdapterManager.h:123
berryPlatformObject.h
berryIAdapterManager.h
berry::PlatformObject::PlatformObject
PlatformObject()
Definition:
berryPlatformObject.cpp:20
berry::Platform::GetAdapterManager
static IAdapterManager * GetAdapterManager()
Definition:
berryPlatform.cpp:83
berryPlatform.h
berry::IAdapterManager
Definition:
berryIAdapterManager.h:80
Source
Plugins
org.blueberry.core.runtime
src
berryPlatformObject.cpp
Generated on Thu Mar 12 2020 10:23:33 for Medical Imaging Interaction Toolkit by
1.8.13