Medical Imaging Interaction Toolkit
2023.04.00
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
{
24
class
USTelemedActivator
:
public
us::ModuleActivator
{
25
public
:
26
27
USTelemedActivator
();
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
47
US_EXPORT_MODULE_ACTIVATOR
(
mitk::USTelemedActivator
)
48
49
#endif
usModuleActivator.h
mitkUSTelemedDevice.h
itk::SmartPointer< Self >
mitk::USTelemedActivator::Load
void Load(us::ModuleContext *context)
Telemed device is created and initialized on module load. Service registration is done during the ini...
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
us::ModuleActivator
Definition:
usModuleActivator.h:63
mitk::USTelemedActivator
Definition:
mitkUSTelemedActivator.h:24
US_EXPORT_MODULE_ACTIVATOR
#define US_EXPORT_MODULE_ACTIVATOR(_activator_type)
Export a module activator class.
Definition:
usModuleActivator.h:119
mitk::USTelemedActivator::Unload
void Unload(us::ModuleContext *context)
Device pointer is removed on module unload. Service deregistration is done in the device destructor.
usModuleContext.h
mitk::USTelemedActivator::~USTelemedActivator
virtual ~USTelemedActivator()
mitk::USTelemedActivator::m_Device
USTelemedDevice::Pointer m_Device
Definition:
mitkUSTelemedActivator.h:43
mitk::USTelemedActivator::USTelemedActivator
USTelemedActivator()
src
MITK
Modules
US
USHardwareTelemed
mitkUSTelemedActivator.h
Generated on Wed May 17 2023 16:26:13 for Medical Imaging Interaction Toolkit by
1.8.17