Medical Imaging Interaction Toolkit  2026.06.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 
57  virtual QString GetCommandId() const = 0;
58 
68  virtual int GetDepth() const = 0;
69 
75  virtual SmartPointer<IHandler> GetHandler() const = 0;
76 
84  virtual IHandlerService* GetHandlerService() const = 0;
85 
86 };
87 
88 }
89 
90 #endif /* BERRYIHANDLERACTIVATION_H_ */
Implements transparent reference counting.
#define BERRY_UI_QT
virtual QString GetCommandId() const =0
virtual SmartPointer< IHandler > GetHandler() const =0
berryObjectMacro(berry::IHandlerActivation)
virtual int GetDepth() const =0
virtual IHandlerService * GetHandlerService() const =0