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
berryICommandCategoryListener.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
18
#ifndef BERRYICOMMANDCATEGORYLISTENER_H_
19
#define BERRYICOMMANDCATEGORYLISTENER_H_
20
21
#include <
berryMessage.h
>
22
23
namespace
berry
{
24
25
template
<
class
T>
class
SmartPointer
;
26
27
class
CommandCategoryEvent
;
28
39
struct
ICommandCategoryListener
40
{
41
42
struct
Events
{
43
44
typedef
Message1<const SmartPointer<const CommandCategoryEvent>
& >
Event
;
45
46
Event
categoryChanged
;
47
48
void
AddListener
(
ICommandCategoryListener
* listener);
49
void
RemoveListener
(
ICommandCategoryListener
* listener);
50
51
52
typedef
MessageDelegate1<ICommandCategoryListener, const SmartPointer<const CommandCategoryEvent>
& >
Delegate
;
53
};
54
55
virtual
~ICommandCategoryListener
();
56
65
virtual
void
CategoryChanged
(
const
SmartPointer<const CommandCategoryEvent>
& categoryEvent) = 0;
66
};
67
68
}
69
70
71
#endif
/* BERRYICOMMANDCATEGORYLISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ICommandCategoryListener::Events::RemoveListener
void RemoveListener(ICommandCategoryListener *listener)
Definition:
berryICommandCategoryListener.cpp:35
berry::ICommandCategoryListener::Events
Definition:
berryICommandCategoryListener.h:42
berry::ICommandCategoryListener::~ICommandCategoryListener
virtual ~ICommandCategoryListener()
Definition:
berryICommandCategoryListener.cpp:42
berryMessage.h
berry::ICommandCategoryListener::Events::AddListener
void AddListener(ICommandCategoryListener *listener)
Definition:
berryICommandCategoryListener.cpp:26
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berry::ICommandCategoryListener::Events::Delegate
MessageDelegate1< ICommandCategoryListener, const SmartPointer< const CommandCategoryEvent > & > Delegate
Definition:
berryICommandCategoryListener.h:52
berry::ICommandCategoryListener::Events::Event
Message1< const SmartPointer< const CommandCategoryEvent > & > Event
Definition:
berryICommandCategoryListener.h:44
berry::ICommandCategoryListener
Definition:
berryICommandCategoryListener.h:39
berry::ICommandCategoryListener::CategoryChanged
virtual void CategoryChanged(const SmartPointer< const CommandCategoryEvent > &categoryEvent)=0
berry::ICommandCategoryListener::Events::categoryChanged
Event categoryChanged
Definition:
berryICommandCategoryListener.h:46
berry::CommandCategoryEvent
Definition:
berryCommandCategoryEvent.h:37
berry::Message1
Definition:
berryMessage.h:791
berry::MessageDelegate1
Definition:
berryMessage.h:174
git
MITK
Plugins
org.blueberry.core.commands
src
berryICommandCategoryListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1