Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryAbstractNamedHandleEvent.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 BERRYABSTRACTNAMEDHANDLEEVENT_H_
15 #define BERRYABSTRACTNAMEDHANDLEEVENT_H_
16 
18 
19 namespace berry {
20 
29 
30 public:
31 
33 
39  bool IsDescriptionChanged() const;
40 
46  bool IsNameChanged() const;
47 
48 protected:
49 
54  static int CHANGED_DESCRIPTION(); // = LAST_BIT_USED_ABSTRACT_HANDLE << 1;
55 
59  static int CHANGED_NAME(); // = LAST_BIT_USED_ABSTRACT_HANDLE << 2;
60 
64  static int LAST_USED_BIT(); // = CHANGED_NAME;
65 
76  AbstractNamedHandleEvent(bool definedChanged,
77  bool descriptionChanged, bool nameChanged);
78 
79 };
80 
81 }
82 
83 #endif /* BERRYABSTRACTNAMEDHANDLEEVENT_H_ */
berry::AbstractHandleObjectEvent
Definition: berryAbstractHandleObjectEvent.h:29
berryAbstractHandleObjectEvent.h
berry::AbstractNamedHandleEvent
Definition: berryAbstractNamedHandleEvent.h:28
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition: org_blueberry_core_commands_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berry
Definition: QmitkPropertyItemModel.h:24