Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryHandleObjectManager.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 BERRYHANDLEOBJECTMANAGER_H_
15 #define BERRYHANDLEOBJECTMANAGER_H_
16 
18 
19 #include <berrySmartPointer.h>
20 
21 #include <QHash>
22 #include <QSet>
23 
24 namespace berry {
25 
26 class HandleObject;
27 
38 {
39 
40 protected:
41 
42  typedef QSet<SmartPointer<HandleObject> > HandleObjectsSet;
43  typedef QHash<QString, SmartPointer<HandleObject> > HandleObjectsByIdMap;
44 
50 
57 
65  void CheckId(const QString& id) const;
66 
73  QSet<QString> GetDefinedHandleObjectIds() const;
74 };
75 
76 }
77 
78 
79 #endif /* BERRYHANDLEOBJECTMANAGER_H_ */
berry::HandleObjectManager::HandleObjectsSet
QSet< SmartPointer< HandleObject > > HandleObjectsSet
Definition: berryHandleObjectManager.h:42
org_blueberry_core_commands_Export.h
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition: org_blueberry_core_commands_Export.h:26
berry::HandleObjectManager::handleObjectsById
HandleObjectsByIdMap handleObjectsById
Definition: berryHandleObjectManager.h:56
berry::HandleObjectManager::definedHandleObjects
HandleObjectsSet definedHandleObjects
Definition: berryHandleObjectManager.h:49
berry::HandleObjectManager::HandleObjectsByIdMap
QHash< QString, SmartPointer< HandleObject > > HandleObjectsByIdMap
Definition: berryHandleObjectManager.h:43
berrySmartPointer.h
berry::HandleObjectManager
Definition: berryHandleObjectManager.h:37
berry
Definition: QmitkPropertyItemModel.h:24