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