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
berryISourceProviderListener.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 BERRYISOURCEPROVIDERLISTENER_H_
19
#define BERRYISOURCEPROVIDERLISTENER_H_
20
21
#include <
org_blueberry_ui_qt_Export.h
>
22
23
#include <
berryMacros.h
>
24
#include <
berryObject.h
>
25
#include <
berryMessage.h
>
26
27
#include <map>
28
29
namespace
berry
{
30
42
struct
BERRY_UI_QT
ISourceProviderListener
43
{
44
45
struct
Events
{
46
Message2<int, const QHash<QString, Object::ConstPointer>
& >
multipleSourcesChanged
;
47
Message3<int, const QString&, Object::ConstPointer>
singleSourceChanged
;
48
49
void
AddListener(
ISourceProviderListener
* l);
50
void
RemoveListener(
ISourceProviderListener
* l);
51
52
private
:
53
54
typedef
MessageDelegate2<ISourceProviderListener, int, const QHash<QString, Object::ConstPointer>
& >
Delegate2
;
55
typedef
MessageDelegate3<ISourceProviderListener, int, const QString&, Object::ConstPointer>
Delegate3
;
56
};
57
58
virtual
~
ISourceProviderListener
();
59
76
virtual
void
SourceChanged(
int
sourcePriority,
77
const
QHash<QString, Object::ConstPointer>& sourceValuesByName) = 0;
78
94
virtual
void
SourceChanged(
int
sourcePriority,
95
const
QString& sourceName,
Object::ConstPointer
sourceValue) = 0;
96
};
97
98
}
99
100
#endif
/* BERRYISOURCEPROVIDERLISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ISourceProviderListener::Events
Definition:
berryISourceProviderListener.h:45
berry::ISourceProviderListener::Events::multipleSourcesChanged
Message2< int, const QHash< QString, Object::ConstPointer > & > multipleSourcesChanged
Definition:
berryISourceProviderListener.h:46
berryMacros.h
berryMessage.h
berry::SmartPointer< const Self >
org_blueberry_ui_qt_Export.h
berry::ISourceProviderListener::Events::singleSourceChanged
Message3< int, const QString &, Object::ConstPointer > singleSourceChanged
Definition:
berryISourceProviderListener.h:47
berryObject.h
berry::Message3
Definition:
berryMessage.h:933
berry::MessageDelegate3
Definition:
berryMessage.h:266
berry::MessageDelegate2
Definition:
berryMessage.h:220
berry::Message2
Definition:
berryMessage.h:862
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
berry::ISourceProviderListener
Definition:
berryISourceProviderListener.h:42
git
MITK
Plugins
org.blueberry.ui.qt
src
berryISourceProviderListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1