Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitkIGTBaseActivator.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 MITKIGTBASEACTIVATOR_H
14 #define MITKIGTBASEACTIVATOR_H
15 
16 #include <usModuleActivator.h>
17 
18 #include <memory>
19 
20 namespace mitk {
21 
22 struct IFileReader;
23 struct IFileWriter;
24 
26 {
27 public:
28 
29  void Load(us::ModuleContext*context) override;
30  void Unload(us::ModuleContext* context) override;
31 
32 private:
33 
34  std::unique_ptr<IFileWriter> m_NavigationDataSetWriterXML;
35  std::unique_ptr<IFileWriter> m_NavigationDataSetWriterCSV;
36  std::unique_ptr<IFileReader> m_NavigationDataReaderXML;
37  std::unique_ptr<IFileReader> m_NavigationDataReaderCSV;
38 };
39 
40 }
41 
42 #endif // MITKIGTBASEACTIVATOR_H
void Load(us::ModuleContext *context) override
DataCollection - Class to facilitate loading/accessing structured data.
void Unload(us::ModuleContext *context) override