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
berryIEvaluationService.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 BERRYIEVALUATIONSERVICE_H
19
#define BERRYIEVALUATIONSERVICE_H
20
21
#include <
berryIServiceWithSources.h
>
22
23
#include <
org_blueberry_ui_qt_Export.h
>
24
25
namespace
berry
{
26
27
struct
IEvaluationContext;
28
struct
IEvaluationReference;
29
struct
IPropertyChangeListener;
30
31
class
Expression;
32
80
struct
BERRY_UI_QT
IEvaluationService
:
public
IServiceWithSources
81
{
82
berryObjectMacro
(
berry::IEvaluationService
)
83
84
87
static
const
QString RESULT;
// = "org.blueberry.ui.services.result";
88
92
static
const
QString
PROP_NOTIFYING
;
// = "org.blueberry.ui.services.notifying";
93
109
virtual
void
AddServiceListener(
IPropertyChangeListener
* listener) = 0;
110
118
virtual
void
RemoveServiceListener(
IPropertyChangeListener
* listener) = 0;
119
138
virtual
SmartPointer<IEvaluationReference>
AddEvaluationListener(
139
const
SmartPointer<Expression>
& expression,
140
IPropertyChangeListener
* listener,
141
const
QString& property) = 0;
142
162
virtual
void
AddEvaluationReference(
const
SmartPointer<IEvaluationReference>
& ref) = 0;
163
170
virtual
void
RemoveEvaluationListener(
const
SmartPointer<IEvaluationReference>
& ref) = 0;
171
183
virtual
SmartPointer<IEvaluationContext>
GetCurrentState()
const
= 0;
184
206
virtual
void
RequestEvaluation(
const
QString& propertyName) = 0;
207
};
208
209
}
210
211
Q_DECLARE_INTERFACE(
berry::IEvaluationService
,
"org.blueberry.ui.IEvaluationService"
)
212
213
#endif // BERRYIEVALUATIONSERVICE_H
berry
Definition:
QmitkPropertyItemModel.h:27
berryIServiceWithSources.h
berry::IEvaluationService::PROP_NOTIFYING
static const QString PROP_NOTIFYING
Definition:
berryIEvaluationService.h:92
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
org_blueberry_ui_qt_Export.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berry::IEvaluationService
Definition:
berryIEvaluationService.h:80
berry::IServiceWithSources
Definition:
berryIServiceWithSources.h:38
berry::IPropertyChangeListener
Definition:
berryIPropertyChangeListener.h:46
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
services
berryIEvaluationService.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1