Medical Imaging Interaction Toolkit  2022.10.99-92cc8b65
Medical Imaging Interaction Toolkit
mitkDICOMImageIOActivator.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 #ifndef MITKDICOMIMAGEIOACTIVATOR_H
14 #define MITKDICOMIMAGEIOACTIVATOR_H
15 
16 #include <usModuleActivator.h>
17 #include <usModuleEvent.h>
18 
19 #include <memory>
20 #include <mutex>
21 
22 namespace mitk {
23 
24 struct IFileReader;
25 class IDICOMTagsOfInterest;
26 
28 {
29 public:
30 
31  void Load(us::ModuleContext* context) override;
32  void Unload(us::ModuleContext* context) override;
33 
34 private:
35  void EnsureManualSelectingDICOMSeriesReader(const us::ModuleEvent event);
36 
37  std::unique_ptr<IFileReader> m_AutoSelectingDICOMReader;
38  std::unique_ptr<IFileReader> m_ManualSelectingDICOMSeriesReader;
39  std::unique_ptr<IFileReader> m_SimpleVolumeDICOMSeriesReader;
40  std::unique_ptr<IDICOMTagsOfInterest> m_DICOMTagsOfInterestService;
41 
42  us::ModuleContext* m_Context;
43 
45  std::mutex m_Mutex;
46 };
47 
48 }
49 
50 #endif // MITKDICOMIMAGEIOACTIVATOR_H
mitk::DICOMImageIOActivator::Load
void Load(us::ModuleContext *context) override
usModuleActivator.h
usModuleEvent.h
mitk::DICOMImageIOActivator
Definition: mitkDICOMImageIOActivator.h:27
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
us::ModuleActivator
Definition: usModuleActivator.h:63
us::ModuleEvent
Definition: usModuleEvent.h:46
mitk::DICOMImageIOActivator::Unload
void Unload(us::ModuleContext *context) override