Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef MITKDICOMREADERSERVICESACTIVATOR_H
18 #define MITKDICOMREADERSERVICESACTIVATOR_H
19 
20 #include <usModuleActivator.h>
21 #include <usServiceEvent.h>
22 
23 #include <memory>
24 
25 namespace mitk {
26 
27 struct IFileReader;
28 class IDICOMTagsOfInterest;
29 
31 {
32 public:
33 
34  void Load(us::ModuleContext* context) override;
35  void Unload(us::ModuleContext* context) override;
36 
37  void AliasServiceChanged(const us::ServiceEvent event);
38 
39 private:
40 
41  std::unique_ptr<IFileReader> m_AutoSelectingDICOMReader;
42  std::unique_ptr<IFileReader> m_ClassicDICOMSeriesReader;
43  std::unique_ptr<IDICOMTagsOfInterest> m_DICOMTagsOfInterestService;
44 
45  us::ModuleContext* mitkContext;
46 
47 };
48 
49 }
50 
51 #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