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