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
berryICommandManagerListener.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 "
berryICommandManagerListener.h
"
18
19
#include "
berryCommandManagerEvent.h
"
20
21
namespace
berry
22
{
23
24
void
ICommandManagerListener::Events::AddListener
(
ICommandManagerListener
* l)
25
{
26
if
(l ==
nullptr
)
return
;
27
28
commandManagerChanged
+=
Delegate
(l, &
ICommandManagerListener::CommandManagerChanged
);
29
}
30
31
void
ICommandManagerListener::Events::RemoveListener
(
ICommandManagerListener
* l)
32
{
33
if
(l ==
nullptr
)
return
;
34
35
commandManagerChanged -=
Delegate
(l, &
ICommandManagerListener::CommandManagerChanged
);
36
}
37
38
ICommandManagerListener::~ICommandManagerListener
()
39
{
40
}
41
42
}
43
berry
Definition:
QmitkPropertyItemModel.h:27
berryCommandManagerEvent.h
berry::ICommandManagerListener::Events::commandManagerChanged
Event commandManagerChanged
Definition:
berryICommandManagerListener.h:48
berryICommandManagerListener.h
berry::ICommandManagerListener
Definition:
berryICommandManagerListener.h:41
berry::ICommandManagerListener::CommandManagerChanged
virtual void CommandManagerChanged(const SmartPointer< const CommandManagerEvent > &commandManagerEvent)=0
berry::ICommandManagerListener::Events::RemoveListener
void RemoveListener(ICommandManagerListener *listener)
Definition:
berryICommandManagerListener.cpp:31
berry::ICommandManagerListener::Events::AddListener
void AddListener(ICommandManagerListener *listener)
Definition:
berryICommandManagerListener.cpp:24
berry::MessageDelegate1
Definition:
berryMessage.h:174
berry::ICommandManagerListener::~ICommandManagerListener
virtual ~ICommandManagerListener()
Definition:
berryICommandManagerListener.cpp:38
git
MITK
Plugins
org.blueberry.core.commands
src
berryICommandManagerListener.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1