Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 __mitkUSTelemedActivator_h
18 #define __mitkUSTelemedActivator_h
19 
20 #include "mitkUSTelemedDevice.h"
21 
22 // Microservices
23 #include <usModuleContext.h>
24 #include <usModuleActivator.h>
25 
26 namespace mitk
27 {
29  public:
30 
32  virtual ~USTelemedActivator();
33 
38  void Load(us::ModuleContext* context);
39 
44  void Unload(us::ModuleContext* context);
45 
46  protected:
48  };
49 } // namespace mitk
50 
52 
53 #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...
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)