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
berryIObjectWithState.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 BERRYIOBJECTWITHSTATE_H_
18
#define BERRYIOBJECTWITHSTATE_H_
19
20
#include "
berryObject.h
"
21
22
#include <
org_blueberry_core_commands_Export.h
>
23
24
namespace
berry
{
25
26
class
State;
27
39
struct
BERRY_COMMANDS
IObjectWithState
:
public
virtual
Object
40
{
41
42
berryObjectMacro
(
berry::IObjectWithState
)
43
44
54
virtual
void
AddState(const QString&
id
, const
SmartPointer
<
State
>& state) = 0;
55
65
virtual
SmartPointer
<
State
> GetState(const QString& stateId) const = 0;
66
73
virtual QList<QString> GetStateIds() const = 0;
74
82
virtual
void
RemoveState(const QString& stateId) = 0;
83
};
84
85
}
86
87
#endif
/*BERRYIOBJECTWITHSTATE_H_*/
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IObjectWithState
Definition:
berryIObjectWithState.h:39
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berry::State
Definition:
berryState.h:46
berryObject.h
org_blueberry_core_commands_Export.h
git
MITK
Plugins
org.blueberry.core.commands
src
berryIObjectWithState.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1