Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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_ */
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT