Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
berryHandlerEvent.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 BERRYHANDLEREVENT_H_
15
#define BERRYHANDLEREVENT_H_
16
17
#include "
common/berryAbstractBitSetEvent.h
"
18
#include <
org_blueberry_core_commands_Export.h
>
19
20
namespace
berry
{
21
22
struct
IHandler;
23
33
class
BERRY_COMMANDS
HandlerEvent
:
public
AbstractBitSetEvent
{
34
35
public
:
36
37
berryObjectMacro
(
HandlerEvent
);
38
50
HandlerEvent
(
const
SmartPointer<IHandler>
handler,
bool
enabledChanged,
51
bool
handledChanged);
52
59
SmartPointer<IHandler>
GetHandler()
const
;
60
66
bool
IsEnabledChanged()
const
;
67
73
bool
IsHandledChanged()
const
;
74
75
76
private
:
77
82
static
const
int
CHANGED_ENABLED;
// = 1;
83
88
static
const
int
CHANGED_HANDLED;
// = 1 << 1;
89
93
const
SmartPointer<IHandler>
handler;
94
95
96
};
97
98
}
99
100
#endif
/* BERRYHANDLEREVENT_H_ */
berry::HandlerEvent
Definition:
berryHandlerEvent.h:33
org_blueberry_core_commands_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
berry::AbstractBitSetEvent
Definition:
berryAbstractBitSetEvent.h:30
berryAbstractBitSetEvent.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryHandlerEvent.h
Generated on Wed May 17 2023 16:26:01 for Medical Imaging Interaction Toolkit by
1.8.17