MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkUSTelemedActivator.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found 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
22namespace mitk
23{
24 class USTelemedActivator : public us::ModuleActivator {
25 public:
26
28 virtual ~USTelemedActivator();
29
34 void Load(us::ModuleContext* context);
35
40 void Unload(us::ModuleContext* context);
41
42 protected:
43 USTelemedDevice::Pointer m_Device;
44 };
45} // namespace mitk
46
47US_EXPORT_MODULE_ACTIVATOR(mitk::USTelemedActivator)
48
49#endif
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)
Telemed device is created and initialized on module load. Service registration is done during the ini...
USTelemedDevice::Pointer m_Device
IGT Exceptions.