Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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_ */
berryObjectMacro(berry::IElementReference)
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
Implements transparent reference counting.
virtual QHash< QString, Object::Pointer > GetParameters() const =0
virtual QString GetCommandId() const =0
virtual SmartPointer< UIElement > GetElement() const =0