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
berryIRegistryEventListener.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 BERRYIREGISTRYEVENTLISTENER_H
18
#define BERRYIREGISTRYEVENTLISTENER_H
19
20
#include <
berryMessage.h
>
21
#include <
berrySmartPointer.h
>
22
23
#include <QList>
24
25
#include <
org_blueberry_core_runtime_Export.h
>
26
27
namespace
berry
{
28
29
struct
IExtension;
30
struct
IExtensionPoint;
31
40
struct
org_blueberry_core_runtime_EXPORT
IRegistryEventListener
41
{
42
43
struct
Events
{
44
45
Message1<const QList<SmartPointer<IExtension>
>&>
extensionsAdded
;
46
Message1<const QList<SmartPointer<IExtension>
>&>
extensionsRemoved
;
47
Message1<const QList<SmartPointer<IExtensionPoint>
>&>
extensionPointsAdded
;
48
Message1<const QList<SmartPointer<IExtensionPoint>
>&>
extensionPointsRemoved
;
49
50
void
AddListener(
IRegistryEventListener
* listener);
51
void
RemoveListener(
IRegistryEventListener
* listener);
52
53
private
:
54
55
typedef
MessageDelegate1<IRegistryEventListener, const QList<SmartPointer<IExtension>
>&>
ExtensionsAddedDelegate
;
56
typedef
MessageDelegate1<IRegistryEventListener, const QList<SmartPointer<IExtension>
>&>
ExtensionsRemovedDelegate
;
57
typedef
MessageDelegate1<IRegistryEventListener, const QList<SmartPointer<IExtensionPoint>
>&>
ExtensionPointsAddedDelegate
;
58
typedef
MessageDelegate1<IRegistryEventListener, const QList<SmartPointer<IExtensionPoint>
>&>
ExtensionPointsRemovedDelegate
;
59
};
60
61
virtual
~
IRegistryEventListener
();
62
71
virtual
void
Added(
const
QList<
SmartPointer<IExtension>
>& extensions) = 0;
72
81
virtual
void
Removed(
const
QList<
SmartPointer<IExtension>
>& extensions) = 0;
82
91
virtual
void
Added(
const
QList<
SmartPointer<IExtensionPoint>
>& extensionPoints) = 0;
92
101
virtual
void
Removed(
const
QList<
SmartPointer<IExtensionPoint>
>& extensionPoints) = 0;
102
103
};
104
105
}
106
107
#endif // BERRYIREGISTRYEVENTLISTENER_H
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IRegistryEventListener::Events::extensionsRemoved
Message1< const QList< SmartPointer< IExtension > > & > extensionsRemoved
Definition:
berryIRegistryEventListener.h:46
berry::IRegistryEventListener::Events::extensionPointsRemoved
Message1< const QList< SmartPointer< IExtensionPoint > > & > extensionPointsRemoved
Definition:
berryIRegistryEventListener.h:48
berryMessage.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
org_blueberry_core_runtime_Export.h
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition:
org_blueberry_core_runtime_Export.h:23
berry::IRegistryEventListener::Events
Definition:
berryIRegistryEventListener.h:43
berry::Message1
Definition:
berryMessage.h:791
berry::IRegistryEventListener::Events::extensionPointsAdded
Message1< const QList< SmartPointer< IExtensionPoint > > & > extensionPointsAdded
Definition:
berryIRegistryEventListener.h:47
berry::IRegistryEventListener
Definition:
berryIRegistryEventListener.h:40
berrySmartPointer.h
berry::IRegistryEventListener::Events::extensionsAdded
Message1< const QList< SmartPointer< IExtension > > & > extensionsAdded
Definition:
berryIRegistryEventListener.h:45
berry::MessageDelegate1
Definition:
berryMessage.h:174
git
MITK
Plugins
org.blueberry.core.runtime
src
registry
berryIRegistryEventListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1