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
berryAbstractSourceProvider.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 BERRYABSTRACTSOURCEPROVIDER_H_
19
#define BERRYABSTRACTSOURCEPROVIDER_H_
20
21
#include "
berryISourceProvider.h
"
22
23
#include <
berryISourceProviderListener.h
>
24
25
namespace
berry
{
26
27
struct
IServiceLocator;
28
36
class
AbstractSourceProvider
:
public
ISourceProvider
{
37
38
protected
:
39
51
void
FireSourceChanged
(
int
sourcePriority,
52
const
QString& sourceName,
Object::ConstPointer
sourceValue);
53
65
void
FireSourceChanged
(
int
sourcePriority,
66
const
QHash<QString, Object::ConstPointer>& sourceValuesByName);
67
77
void
LogDebuggingInfo
(
const
QString& message);
78
79
80
private
:
81
82
83
ISourceProviderListener::Events
sourceEvents;
84
85
86
public
:
87
92
static
bool
DEBUG
;
// = Policy.DEBUG_SOURCES;
93
94
berryObjectMacro
(
berry::AbstractSourceProvider
)
95
96
void
AddSourceProviderListener
(
ISourceProviderListener
* listener) override;
97
98
void
RemoveSourceProviderListener
(
ISourceProviderListener
*listener) override;
99
109
virtual
void
Initialize
(
IServiceLocator
* locator);
110
};
111
112
}
113
114
#endif
/* BERRYABSTRACTSOURCEPROVIDER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ISourceProviderListener::Events
Definition:
berryISourceProviderListener.h:45
berry::AbstractSourceProvider::LogDebuggingInfo
void LogDebuggingInfo(const QString &message)
Definition:
berryAbstractSourceProvider.cpp:41
berry::AbstractSourceProvider::DEBUG
static bool DEBUG
Definition:
berryAbstractSourceProvider.h:92
berryISourceProvider.h
berry::AbstractSourceProvider
Definition:
berryAbstractSourceProvider.h:36
berry::SmartPointer< const Self >
berry::AbstractSourceProvider::Initialize
virtual void Initialize(IServiceLocator *locator)
Definition:
berryAbstractSourceProvider.cpp:71
berry::ISourceProvider
Definition:
berryISourceProvider.h:47
berry::AbstractSourceProvider::RemoveSourceProviderListener
void RemoveSourceProviderListener(ISourceProviderListener *listener) override
Definition:
berryAbstractSourceProvider.cpp:60
berry::AbstractSourceProvider::FireSourceChanged
void FireSourceChanged(int sourcePriority, const QString &sourceName, Object::ConstPointer sourceValue)
Definition:
berryAbstractSourceProvider.cpp:29
berryISourceProviderListener.h
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
berry::ISourceProvider::AddSourceProviderListener
virtual void AddSourceProviderListener(ISourceProviderListener *listener)=0
berry::AbstractSourceProvider::berryObjectMacro
berryObjectMacro(berry::AbstractSourceProvider) void AddSourceProviderListener(ISourceProviderListener *listener) override
berry::ISourceProviderListener
Definition:
berryISourceProviderListener.h:42
git
MITK
Plugins
org.blueberry.ui.qt
src
berryAbstractSourceProvider.h
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1