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
berryAbstractHandleObjectEvent.cpp
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
#include "
berryAbstractHandleObjectEvent.h
"
18
19
namespace
berry
20
{
21
22
int
AbstractHandleObjectEvent::CHANGED_DEFINED
() {
static
int
i = 1;
return
i; }
23
int
AbstractHandleObjectEvent::LAST_BIT_USED_ABSTRACT_HANDLE
() {
return
CHANGED_DEFINED
(); }
24
25
AbstractHandleObjectEvent::AbstractHandleObjectEvent
(
bool
definedChanged)
26
{
27
if
(definedChanged)
28
{
29
changedValues
|=
CHANGED_DEFINED
();
30
}
31
}
32
33
bool
AbstractHandleObjectEvent::IsDefinedChanged
()
const
34
{
35
return
((
changedValues
&
CHANGED_DEFINED
()) != 0);
36
}
37
38
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::AbstractHandleObjectEvent::AbstractHandleObjectEvent
AbstractHandleObjectEvent(bool definedChanged)
Definition:
berryAbstractHandleObjectEvent.cpp:25
berry::AbstractHandleObjectEvent::LAST_BIT_USED_ABSTRACT_HANDLE
static int LAST_BIT_USED_ABSTRACT_HANDLE()
Definition:
berryAbstractHandleObjectEvent.cpp:23
berry::AbstractHandleObjectEvent::IsDefinedChanged
bool IsDefinedChanged() const
Definition:
berryAbstractHandleObjectEvent.cpp:33
berryAbstractHandleObjectEvent.h
berry::AbstractHandleObjectEvent::CHANGED_DEFINED
static int CHANGED_DEFINED()
Definition:
berryAbstractHandleObjectEvent.cpp:22
berry::AbstractBitSetEvent::changedValues
int changedValues
Definition:
berryAbstractBitSetEvent.h:50
git
MITK
Plugins
org.blueberry.core.commands
src
common
berryAbstractHandleObjectEvent.cpp
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1