Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryISelectionChangedListener.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
#ifndef BERRYISELECTIONCHANGEDLISTENER_H_
14
#define BERRYISELECTIONCHANGEDLISTENER_H_
15
16
#include <
org_blueberry_ui_qt_Export.h
>
17
18
#include <
berryMacros.h
>
19
#include <
berryMessage.h
>
20
21
#include "
berrySelectionChangedEvent.h
"
22
23
namespace
berry
24
{
25
26
class
SelectionChangedEvent;
27
37
struct
BERRY_UI_QT
ISelectionChangedListener
38
{
39
40
struct
BERRY_UI_QT
Events
{
41
42
Message1<const SelectionChangedEvent::Pointer&>
selectionChanged
;
43
44
void
AddListener(
ISelectionChangedListener
* listener);
45
void
RemoveListener(
ISelectionChangedListener
* listener);
46
47
private
:
48
49
typedef
MessageDelegate1<ISelectionChangedListener, const SelectionChangedEvent::Pointer&>
Delegate
;
50
};
51
52
virtual
~
ISelectionChangedListener
();
53
59
virtual
void
SelectionChanged(
const
SelectionChangedEvent::Pointer
& event) = 0;
60
};
61
62
}
63
64
#endif
/*BERRYISELECTIONCHANGEDLISTENER_H_*/
berry::ISelectionChangedListener::Events::selectionChanged
Message1< const SelectionChangedEvent::Pointer & > selectionChanged
Definition:
berryISelectionChangedListener.h:42
org_blueberry_ui_qt_Export.h
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::ISelectionChangedListener::Events
Definition:
berryISelectionChangedListener.h:40
berryMessage.h
berry::Message1< const SelectionChangedEvent::Pointer & >
berry::MessageDelegate1
Definition:
berryMessage.h:170
berry::ISelectionChangedListener
Definition:
berryISelectionChangedListener.h:37
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berrySelectionChangedEvent.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryISelectionChangedListener.h
Generated on Sat Nov 23 2024 02:13:08 for Medical Imaging Interaction Toolkit by
1.8.17