34 void Load(us::ModuleContext* context)
override
37 m_Measurement = IGTLMeasurements::New();
38 m_MeasurementReg = context->RegisterService<IGTLMeasurements>(m_Measurement);
41 void Unload(us::ModuleContext*)
override
43 m_MeasurementReg.Unregister();
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
virtual void Unload(ModuleContext *context)=0
virtual void Load(ModuleContext *context)=0
US_EXPORT_MODULE_ACTIVATOR(mitk::SimulationActivator)