Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkUSTelemedActivator.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 __mitkUSTelemedActivator_h
14 #define __mitkUSTelemedActivator_h
15 
16 #include "mitkUSTelemedDevice.h"
17 
18 // Microservices
19 #include <usModuleContext.h>
20 #include <usModuleActivator.h>
21 
22 namespace mitk
23 {
25  public:
26 
28  virtual ~USTelemedActivator();
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 // __mitkUSTelemedActivator_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...
USTelemedDevice::Pointer m_Device
void Load(us::ModuleContext *context)
Telemed device is created and initialized on module load. Service registration is done during the ini...
#define US_EXPORT_MODULE_ACTIVATOR(_activator_type)
Export a module activator class.