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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryIStateListener.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 "
berryIStateListener.h
"
18
19
#include "
berryState.h
"
20
21
namespace
berry
{
22
23
void
24
IStateListener::Events
25
::AddListener
(
IStateListener
* l)
26
{
27
if
(l ==
nullptr
)
return
;
28
29
stateChanged +=
Delegate
(l, &
IStateListener::HandleStateChange
);
30
}
31
32
void
33
IStateListener::Events
34
::RemoveListener
(
IStateListener
* l)
35
{
36
if
(l ==
nullptr
)
return
;
37
38
stateChanged -=
Delegate
(l, &
IStateListener::HandleStateChange
);
39
}
40
41
IStateListener::~IStateListener
()
42
{
43
}
44
45
}
berry::IStateListener::Events::RemoveListener
void RemoveListener(IStateListener *listener)
Definition:
berryIStateListener.cpp:34
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IStateListener::HandleStateChange
virtual void HandleStateChange(const SmartPointer< State > &state, const SmartPointer< Object > &oldValue)=0
berryIStateListener.h
berryState.h
berry::IStateListener::~IStateListener
virtual ~IStateListener()
Definition:
berryIStateListener.cpp:41
berry::MessageDelegate2
Definition:
berryMessage.h:220
berry::IStateListener
Definition:
berryIStateListener.h:40
berry::IStateListener::Events::AddListener
void AddListener(IStateListener *listener)
Definition:
berryIStateListener.cpp:25
git
MITK
Plugins
org.blueberry.core.commands
src
berryIStateListener.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1