Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryIObjectWithState.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
#ifndef BERRYIOBJECTWITHSTATE_H_
14
#define BERRYIOBJECTWITHSTATE_H_
15
16
#include "
berryObject.h
"
17
18
#include <
org_blueberry_core_commands_Export.h
>
19
20
namespace
berry
{
21
22
class
State;
23
35
struct
BERRY_COMMANDS
IObjectWithState
:
public
virtual
Object
36
{
37
38
berryObjectMacro
(
berry::IObjectWithState
);
39
50
virtual
void
AddState(
const
QString&
id
,
const
SmartPointer<State>
& state) = 0;
51
61
virtual
SmartPointer<State>
GetState(
const
QString& stateId)
const
= 0;
62
69
virtual
QList<QString> GetStateIds()
const
= 0;
70
78
virtual
void
RemoveState(
const
QString& stateId) = 0;
79
};
80
81
}
82
83
#endif
/*BERRYIOBJECTWITHSTATE_H_*/
org_blueberry_core_commands_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::IObjectWithState
Definition:
berryIObjectWithState.h:35
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryIObjectWithState.h
Generated on Tue Dec 24 2024 02:12:22 for Medical Imaging Interaction Toolkit by
1.8.17