Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
berryAbstractSourceProvider.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 BERRYABSTRACTSOURCEPROVIDER_H_
15
#define BERRYABSTRACTSOURCEPROVIDER_H_
16
17
#include "
berryISourceProvider.h
"
18
19
#include <
berryISourceProviderListener.h
>
20
21
namespace
berry
{
22
23
struct
IServiceLocator;
24
32
class
AbstractSourceProvider
:
public
ISourceProvider
{
33
34
protected
:
35
47
void
FireSourceChanged
(
int
sourcePriority,
48
const
QString& sourceName,
Object::ConstPointer
sourceValue);
49
61
void
FireSourceChanged
(
int
sourcePriority,
62
const
QHash<QString, Object::ConstPointer>& sourceValuesByName);
63
73
void
LogDebuggingInfo
(
const
QString& message);
74
75
76
private
:
77
78
79
ISourceProviderListener::Events
sourceEvents;
80
81
82
public
:
83
88
static
bool
DEBUG
;
// = Policy.DEBUG_SOURCES;
89
90
berryObjectMacro
(
berry::AbstractSourceProvider
);
91
92
void
AddSourceProviderListener
(
ISourceProviderListener
* listener)
override
;
93
94
void
RemoveSourceProviderListener
(
ISourceProviderListener
*listener)
override
;
95
105
virtual
void
Initialize
(
IServiceLocator
* locator);
106
};
107
108
}
109
110
#endif
/* BERRYABSTRACTSOURCEPROVIDER_H_ */
berry::ISourceProviderListener
Definition:
berryISourceProviderListener.h:38
berry::AbstractSourceProvider::LogDebuggingInfo
void LogDebuggingInfo(const QString &message)
berry::AbstractSourceProvider::AddSourceProviderListener
void AddSourceProviderListener(ISourceProviderListener *listener) override
berry::IServiceLocator
Definition:
berryIServiceLocator.h:43
berryISourceProviderListener.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::AbstractSourceProvider::DEBUG
static bool DEBUG
Definition:
berryAbstractSourceProvider.h:88
berry::AbstractSourceProvider::berryObjectMacro
berryObjectMacro(berry::AbstractSourceProvider)
berry::AbstractSourceProvider::RemoveSourceProviderListener
void RemoveSourceProviderListener(ISourceProviderListener *listener) override
berry::AbstractSourceProvider
Definition:
berryAbstractSourceProvider.h:32
berry::ISourceProvider
Definition:
berryISourceProvider.h:43
berry::AbstractSourceProvider::Initialize
virtual void Initialize(IServiceLocator *locator)
berry::ISourceProviderListener::Events
Definition:
berryISourceProviderListener.h:41
berryISourceProvider.h
berry::AbstractSourceProvider::FireSourceChanged
void FireSourceChanged(int sourcePriority, const QString &sourceName, Object::ConstPointer sourceValue)
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryAbstractSourceProvider.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17