Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryHandlerEvent.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 BERRYHANDLEREVENT_H_
19 #define BERRYHANDLEREVENT_H_
20 
23 
24 namespace berry {
25 
26 struct IHandler;
27 
38 
39 public:
40 
42 
54  HandlerEvent(const SmartPointer<IHandler> handler, bool enabledChanged,
55  bool handledChanged);
56 
63  SmartPointer<IHandler> GetHandler() const;
64 
70  bool IsEnabledChanged() const;
71 
77  bool IsHandledChanged() const ;
78 
79 
80 private:
81 
86  static const int CHANGED_ENABLED; // = 1;
87 
92  static const int CHANGED_HANDLED; // = 1 << 1;
93 
98 
99 
100 };
101 
102 }
103 
104 #endif /* BERRYHANDLEREVENT_H_ */
static MsgHandler handler
Definition: usUtils.cpp:261
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37