17 #ifndef __mitkUSActivator_h
18 #define __mitkUSActivator_h
47 void Load(us::ModuleContext* context)
override;
52 void Unload(us::ModuleContext* context)
override;
67 #endif // __mitkUSActivator_h
DataCollection - Class to facilitate loading/accessing structured data.
void Load(us::ModuleContext *context) override
The mitk::USVideoDevice obejcts are loaded from hard disk and registered into micro service...
void OnServiceEvent(const us::ServiceEvent event)
Listens to ServiceRegistry changes and updates the list of mitk::USDevice object accordingly.
void Unload(us::ModuleContext *context) override
Registered mitk::USVideoDevice objects are stored to hard disk an deregistered from micro service...
us::ModuleContext * m_Context
std::vector< USDevice::Pointer > m_Devices
Module activator for the US module. Loads mitk::USVideoDevice objects from hard disk on module load a...
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)