Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryIElementReference.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 
14 #ifndef BERRYIELEMENTREFERENCE_H_
15 #define BERRYIELEMENTREFERENCE_H_
16 
17 #include <berryObject.h>
18 
19 #include <QHash>
20 
21 namespace berry {
22 
23 class UIElement;
24 
33 struct IElementReference : public Object
34 {
35 
37 
43  virtual QString GetCommandId() const = 0;
44 
51  virtual SmartPointer<UIElement> GetElement() const = 0;
52 
59  virtual QHash<QString, Object::Pointer> GetParameters() const = 0;
60 };
61 
62 }
63 
64 #endif /* BERRYIELEMENTREFERENCE_H_ */
berry::IElementReference::GetElement
virtual SmartPointer< UIElement > GetElement() const =0
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berry::IElementReference::berryObjectMacro
berryObjectMacro(berry::IElementReference)
berry::IElementReference::GetCommandId
virtual QString GetCommandId() const =0
berry::IElementReference::GetParameters
virtual QHash< QString, Object::Pointer > GetParameters() const =0
berry::IElementReference
Definition: berryIElementReference.h:33
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24