Medical Imaging Interaction Toolkit
2024.12.00
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
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
g
i
m
o
p
q
r
s
u
v
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryAbstractHandler.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 BERRYABSTRACTHANDLER_H_
14
#define BERRYABSTRACTHANDLER_H_
15
16
#include "
berryIHandler.h
"
17
#include "
berryIHandlerListener.h
"
18
19
#include <
org_blueberry_core_commands_Export.h
>
20
21
namespace
berry
{
22
34
class
BERRY_COMMANDS
AbstractHandler
:
public
QObject,
public
IHandler
{
// ,public EventManager {
35
36
Q_OBJECT
37
Q_INTERFACES(
berry::IHandler
)
38
39
public
:
40
berryObjectMacro
(
AbstractHandler
);
41
42
private
:
43
47
bool
baseEnabled;
48
49
IHandlerListener::Events
handlerListeners;
50
51
public
:
52
53
AbstractHandler
();
54
58
void
AddHandlerListener(
IHandlerListener
* handlerListener)
override
;
59
66
void
Dispose()
override
;
67
78
bool
IsEnabled()
const override
;
79
90
void
SetEnabled(
const
Object::Pointer
& evaluationContext)
override
;
91
98
bool
IsHandled()
const override
;
99
103
void
RemoveHandlerListener(
IHandlerListener
* handlerListener)
override
;
104
105
protected
:
106
123
void
FireHandlerChanged(
const
SmartPointer<HandlerEvent>
& handlerEvent);
124
134
void
SetBaseEnabled(
bool
state);
135
153
virtual
bool
HasListeners()
const
;
154
155
};
156
157
}
158
159
#endif
/*BERRYABSTRACTHANDLER_H_*/
berryIHandler.h
berry::IHandler
Definition:
berryIHandler.h:34
org_blueberry_core_commands_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berryIHandlerListener.h
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
berry::AbstractHandler
Definition:
berryAbstractHandler.h:34
berry::IHandlerListener
Definition:
berryIHandlerListener.h:37
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry::IHandlerListener::Events
Definition:
berryIHandlerListener.h:40
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryAbstractHandler.h
Generated on Tue Dec 10 2024 10:35:03 for Medical Imaging Interaction Toolkit by
1.8.17