Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryIServiceFactory.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
14
#ifndef BERRYISERVICEFACTORY_H_
15
#define BERRYISERVICEFACTORY_H_
16
17
#include <
org_blueberry_ui_qt_Export.h
>
18
19
#include <QObject>
20
21
namespace
berry
{
22
23
struct
IServiceLocator;
24
25
class
Object;
26
33
struct
BERRY_UI_QT
IServiceFactory
{
34
35
virtual
~
IServiceFactory
();
36
57
template
<
class
S>
58
S*
Create
(
IServiceLocator
* parentLocator,
IServiceLocator
* locator)
const
59
{
60
return
dynamic_cast<
S*
>
(this->Create(qobject_interface_iid<S*>(), parentLocator, locator));
61
}
62
63
virtual
Object
* Create(
const
QString& serviceInterface,
64
IServiceLocator
* parentLocator,
IServiceLocator
* locator)
const
= 0;
65
};
66
67
}
68
69
Q_DECLARE_INTERFACE(
berry::IServiceFactory
,
"org.blueberry.ui.IServiceFactory"
)
70
71
#endif
/* BERRYISERVICEFACTORY_H_ */
org_blueberry_ui_qt_Export.h
berry::IServiceLocator
Definition:
berryIServiceLocator.h:43
berry::IServiceFactory
Definition:
berryIServiceFactory.h:33
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IServiceFactory::Create
S * Create(IServiceLocator *parentLocator, IServiceLocator *locator) const
Definition:
berryIServiceFactory.h:58
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
services
berryIServiceFactory.h
Generated on Sat Mar 15 2025 02:13:12 for Medical Imaging Interaction Toolkit by
1.8.17