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
berryICommandManagerListener.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
#ifndef BERRYICOMMANDMANAGERLISTENER_H_
18
#define BERRYICOMMANDMANAGERLISTENER_H_
19
20
#include <
org_blueberry_core_commands_Export.h
>
21
22
#include <
berryMessage.h
>
23
24
namespace
berry
25
{
26
27
template
<
class
T>
class
SmartPointer;
28
29
class
CommandManagerEvent;
30
41
struct
BERRY_COMMANDS
ICommandManagerListener
42
{
43
44
struct
Events
{
45
46
typedef
Message1<const SmartPointer<const CommandManagerEvent>
& >
Event
;
47
48
Event
commandManagerChanged
;
49
50
void
AddListener(
ICommandManagerListener
* listener);
51
void
RemoveListener(
ICommandManagerListener
* listener);
52
53
private
:
54
typedef
MessageDelegate1<ICommandManagerListener, const SmartPointer<const CommandManagerEvent>
& >
Delegate
;
55
};
56
57
virtual
~
ICommandManagerListener
();
58
68
virtual
void
CommandManagerChanged(
const
SmartPointer<const CommandManagerEvent>
& commandManagerEvent) = 0;
69
};
70
71
}
72
73
#endif
/* BERRYICOMMANDMANAGERLISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ICommandManagerListener::Events::Event
Message1< const SmartPointer< const CommandManagerEvent > & > Event
Definition:
berryICommandManagerListener.h:46
berry::ICommandManagerListener::Events::commandManagerChanged
Event commandManagerChanged
Definition:
berryICommandManagerListener.h:48
berryMessage.h
berry::ICommandManagerListener::Events
Definition:
berryICommandManagerListener.h:44
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berry::ICommandManagerListener
Definition:
berryICommandManagerListener.h:41
berry::Message1
Definition:
berryMessage.h:791
org_blueberry_core_commands_Export.h
berry::MessageDelegate1
Definition:
berryMessage.h:174
git
MITK
Plugins
org.blueberry.core.commands
src
berryICommandManagerListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1