13#ifndef mitkUSActivator_h
14#define mitkUSActivator_h
19#include <usModuleContext.h>
20#include <usModuleActivator.h>
43 void Load(us::ModuleContext* context)
override;
48 void Unload(us::ModuleContext* context)
override;
Module activator for the US module. Loads mitk::USVideoDevice objects from hard disk on module load a...
us::ModuleContext * m_Context
void OnServiceEvent(const us::ServiceEvent event)
Listens to ServiceRegistry changes and updates the list of mitk::USDevice object accordingly.
std::vector< USDevice::Pointer > m_Devices
void Load(us::ModuleContext *context) override
The mitk::USVideoDevice obejcts are loaded from hard disk and registered into micro service.
void Unload(us::ModuleContext *context) override
Registered mitk::USVideoDevice objects are stored to hard disk an deregistered from micro service.