Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berrySafeRunner.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 BERRYSAFERUNNER_H_
15 #define BERRYSAFERUNNER_H_
16 
18 
19 #include "berryISafeRunnable.h"
20 
21 namespace berry {
22 
32 
33 public:
34 
42  static void Run(ISafeRunnable::Pointer code);
43 
44 private:
45 
46  static void HandleException(ISafeRunnable::Pointer code);
47  static void HandleException(ISafeRunnable::Pointer code, const std::exception&);
48  static void HandleException(ISafeRunnable::Pointer code, const ctkException& e);
49 
50 };
51 
52 }
53 
54 #endif /* BERRYSAFERUNNER_H_ */
org_blueberry_core_runtime_Export.h
berryISafeRunnable.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::SafeRunner
Definition: berrySafeRunner.h:31
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
berry
Definition: QmitkPropertyItemModel.h:24
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)