Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryHandlerEvent.h
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
18
#ifndef BERRYHANDLEREVENT_H_
19
#define BERRYHANDLEREVENT_H_
20
21
#include "
common/berryAbstractBitSetEvent.h
"
22
#include <
org_blueberry_core_commands_Export.h
>
23
24
namespace
berry
{
25
26
struct
IHandler;
27
37
class
BERRY_COMMANDS
HandlerEvent
:
public
AbstractBitSetEvent
{
38
39
public
:
40
41
berryObjectMacro
(
HandlerEvent
);
42
54
HandlerEvent
(
const
SmartPointer<IHandler>
handler
,
bool
enabledChanged,
55
bool
handledChanged);
56
63
SmartPointer<IHandler>
GetHandler()
const
;
64
70
bool
IsEnabledChanged()
const
;
71
77
bool
IsHandledChanged()
const
;
78
79
80
private
:
81
86
static
const
int
CHANGED_ENABLED;
// = 1;
87
92
static
const
int
CHANGED_HANDLED;
// = 1 << 1;
93
97
const
SmartPointer<IHandler>
handler
;
98
99
100
};
101
102
}
103
104
#endif
/* BERRYHANDLEREVENT_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
us::handler
static MsgHandler handler
Definition:
usUtils.cpp:261
berry::HandlerEvent
Definition:
berryHandlerEvent.h:37
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berry::AbstractBitSetEvent
Definition:
berryAbstractBitSetEvent.h:34
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berryAbstractBitSetEvent.h
org_blueberry_core_commands_Export.h
git
MITK
Plugins
org.blueberry.core.commands
src
berryHandlerEvent.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1