Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkUSDiPhASActivator.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 __mitkUSDiPhASActivator_h
14 #define __mitkUSDiPhASActivator_h
15 
16 #include "mitkUSDiPhASDevice.h"
17 
18 // Microservices
19 #include <usModuleContext.h>
20 #include <usModuleActivator.h>
21 
22 namespace mitk
23 {
25  public:
26 
28  virtual ~USDiPhASActivator();
29 
34  void Load(us::ModuleContext* context);
35 
40  void Unload(us::ModuleContext* context);
41 
42  protected:
44  };
45 } // namespace mitk
46 
48 
49 #endif // __mitkUSDiPhASActivator_h
DataCollection - Class to facilitate loading/accessing structured data.
void Unload(us::ModuleContext *context)
Device pointer is removed on module unload. Service deregistration is done in the device destructor...
void Load(us::ModuleContext *context)
DiPhAS device is created and initialized on module load. Service registration is done during the init...
USDiPhASDevice::Pointer m_Device
#define US_EXPORT_MODULE_ACTIVATOR(_activator_type)
Export a module activator class.