32 ~SimulationActivator()
36 void Load(us::ModuleContext* context)
override
38 m_SimulationService.reset(
new SimulationService);
39 context->RegisterService<ISimulationService>(m_SimulationService.get());
41 m_SimulationIO.reset(
new SimulationIO);
44 void Unload(us::ModuleContext*)
override
46 m_SimulationIO.reset(NULL);
47 m_SimulationService.reset(NULL);
51 SimulationActivator(
const SimulationActivator&);
52 SimulationActivator& operator=(
const SimulationActivator&);
54 std::unique_ptr<SimulationService> m_SimulationService;
55 std::unique_ptr<AbstractFileIO> m_SimulationIO;
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)