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
berryAbstractHandlerWithState.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 BERRYABSTRACTHANDLERWITHSTATE_H
18
#define BERRYABSTRACTHANDLERWITHSTATE_H
19
20
#include "
berryAbstractHandler.h
"
21
#include "
berryIObjectWithState.h
"
22
#include "
berryIStateListener.h
"
23
24
#include <
org_blueberry_core_commands_Export.h
>
25
26
namespace
berry
{
27
28
class
State;
29
42
class
BERRY_COMMANDS
AbstractHandlerWithState
:
public
AbstractHandler
,
public
IObjectWithState
,
43
protected
IStateListener
44
{
45
46
private
:
47
52
QHash<QString,SmartPointer<State> > states;
53
54
public
:
55
56
berryObjectMacro
(
berry::AbstractHandlerWithState
)
57
58
75
void AddState(const QString& stateId, const
SmartPointer
<
State
>& state) override;
76
77
SmartPointer
<
State
> GetState(const QString& stateId) const override;
78
79
QList<QString> GetStateIds() const override;
80
96
void
RemoveState(const QString& stateId) override;
97
};
98
99
}
100
101
#endif // BERRYABSTRACTHANDLERWITHSTATE_H
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IObjectWithState
Definition:
berryIObjectWithState.h:39
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berry::AbstractHandler
Definition:
berryAbstractHandler.h:38
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryIStateListener.h
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berry::State
Definition:
berryState.h:46
berryIObjectWithState.h
org_blueberry_core_commands_Export.h
berryAbstractHandler.h
berry::AbstractHandlerWithState
Definition:
berryAbstractHandlerWithState.h:42
berry::IStateListener
Definition:
berryIStateListener.h:40
git
MITK
Plugins
org.blueberry.core.commands
src
berryAbstractHandlerWithState.h
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1