Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkDICOMReaderServicesActivator.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 MITKDICOMREADERSERVICESACTIVATOR_H
14 #define MITKDICOMREADERSERVICESACTIVATOR_H
15 
16 #include <usModuleActivator.h>
17 #include <usServiceEvent.h>
18 
19 #include <memory>
20 
21 namespace mitk {
22 
23 struct IFileReader;
24 class IDICOMTagsOfInterest;
25 
27 {
28 public:
29 
30  void Load(us::ModuleContext* context) override;
31  void Unload(us::ModuleContext* context) override;
32 
33  void AliasServiceChanged(const us::ServiceEvent event);
34 
35 private:
36 
37  std::unique_ptr<IFileReader> m_AutoSelectingDICOMReader;
38  std::unique_ptr<IFileReader> m_ClassicDICOMSeriesReader;
39  std::unique_ptr<IFileReader> m_SimpleVolumeDICOMSeriesReader;
40  std::unique_ptr<IDICOMTagsOfInterest> m_DICOMTagsOfInterestService;
41 
42  us::ModuleContext* mitkContext;
43 
44 };
45 
46 }
47 
48 #endif // MITKDICOMREADERSERVICESACTIVATOR_H
DataCollection - Class to facilitate loading/accessing structured data.
void AliasServiceChanged(const us::ServiceEvent event)
void Unload(us::ModuleContext *context) override
void Load(us::ModuleContext *context) override