Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
berryICommandCategoryListener.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
14
#ifndef BERRYICOMMANDCATEGORYLISTENER_H_
15
#define BERRYICOMMANDCATEGORYLISTENER_H_
16
17
#include <
berryMessage.h
>
18
19
namespace
berry
{
20
21
template
<
class
T>
class
SmartPointer
;
22
23
class
CommandCategoryEvent
;
24
35
struct
ICommandCategoryListener
36
{
37
38
struct
Events
{
39
40
typedef
Message1<const SmartPointer<const CommandCategoryEvent>
& >
Event
;
41
42
Event
categoryChanged
;
43
44
void
AddListener
(
ICommandCategoryListener
* listener);
45
void
RemoveListener
(
ICommandCategoryListener
* listener);
46
47
48
typedef
MessageDelegate1<ICommandCategoryListener, const SmartPointer<const CommandCategoryEvent>
& >
Delegate
;
49
};
50
51
virtual
~ICommandCategoryListener
();
52
61
virtual
void
CategoryChanged
(
const
SmartPointer<const CommandCategoryEvent>
& categoryEvent) = 0;
62
};
63
64
}
65
66
67
#endif
/* BERRYICOMMANDCATEGORYLISTENER_H_ */
berry::ICommandCategoryListener::~ICommandCategoryListener
virtual ~ICommandCategoryListener()
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::ICommandCategoryListener::Events
Definition:
berryICommandCategoryListener.h:38
berry::ICommandCategoryListener::Events::AddListener
void AddListener(ICommandCategoryListener *listener)
berryMessage.h
berry::Message1
Definition:
berryMessage.h:787
berry::MessageDelegate1
Definition:
berryMessage.h:170
berry::ICommandCategoryListener::CategoryChanged
virtual void CategoryChanged(const SmartPointer< const CommandCategoryEvent > &categoryEvent)=0
berry::CommandCategoryEvent
Definition:
berryCommandCategoryEvent.h:33
berry::ICommandCategoryListener
Definition:
berryICommandCategoryListener.h:35
berry::ICommandCategoryListener::Events::Event
Message1< const SmartPointer< const CommandCategoryEvent > & > Event
Definition:
berryICommandCategoryListener.h:40
berry::ICommandCategoryListener::Events::RemoveListener
void RemoveListener(ICommandCategoryListener *listener)
berry::ICommandCategoryListener::Events::Delegate
MessageDelegate1< ICommandCategoryListener, const SmartPointer< const CommandCategoryEvent > & > Delegate
Definition:
berryICommandCategoryListener.h:48
berry
Definition:
QmitkPropertyItemModel.h:24
berry::ICommandCategoryListener::Events::categoryChanged
Event categoryChanged
Definition:
berryICommandCategoryListener.h:42
src
MITK
Plugins
org.blueberry.core.commands
src
berryICommandCategoryListener.h
Generated on Thu Nov 30 2023 15:58:48 for Medical Imaging Interaction Toolkit by
1.8.17