Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berryIHandlerActivation.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 BERRYIHANDLERACTIVATION_H_
15 #define BERRYIHANDLERACTIVATION_H_
16 
17 #include "internal/berryIEvaluationResultCache.h"
18 
20 
21 namespace berry {
22 
23 struct IHandler;
24 struct IHandlerService;
25 
40 struct BERRY_UI_QT IHandlerActivation : public virtual IEvaluationResultCache
41 {
42 
44 
45  ~IHandlerActivation() override;
46 
50  static const int ROOT_DEPTH; // = 1;
51 
60  virtual void ClearActive() = 0;
61 
67  virtual QString GetCommandId() const = 0;
68 
78  virtual int GetDepth() const = 0;
79 
85  virtual SmartPointer<IHandler> GetHandler() const = 0;
86 
94  virtual IHandlerService* GetHandlerService() const = 0;
95 
96 };
97 
98 }
99 
100 #endif /* BERRYIHANDLERACTIVATION_H_ */
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IHandlerService
Definition: berryIHandlerService.h:53
berry::IHandlerActivation::ROOT_DEPTH
static const int ROOT_DEPTH
Definition: berryIHandlerActivation.h:50
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berry
Definition: QmitkPropertyItemModel.h:24
berry::IHandlerActivation
Definition: berryIHandlerActivation.h:40