Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryIHandlerActivation.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYIHANDLERACTIVATION_H_
19 #define BERRYIHANDLERACTIVATION_H_
20 
21 #include "internal/berryIEvaluationResultCache.h"
22 
24 
25 namespace berry {
26 
27 struct IHandler;
28 struct IHandlerService;
29 
44 struct BERRY_UI_QT IHandlerActivation : public virtual IEvaluationResultCache
45 {
46 
48 
50 
54  static const int ROOT_DEPTH; // = 1;
55 
64  virtual void ClearActive() = 0;
65 
71  virtual QString GetCommandId() const = 0;
72 
82  virtual int GetDepth() const = 0;
83 
89  virtual SmartPointer<IHandler> GetHandler() const = 0;
90 
98  virtual IHandlerService* GetHandlerService() const = 0;
99 
100 };
101 
102 }
103 
104 #endif /* BERRYIHANDLERACTIVATION_H_ */
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT