31 VtkShadersActivator() {}
32 ~VtkShadersActivator() {}
33 void Load(us::ModuleContext *context)
override
35 m_VtkShaderRepository.reset(
new VtkShaderRepository);
36 context->RegisterService<IShaderRepository>(m_VtkShaderRepository.get());
39 void Unload(us::ModuleContext *)
override { m_VtkShaderRepository.reset(NULL); }
41 VtkShadersActivator(
const VtkShadersActivator &);
42 VtkShadersActivator &operator=(
const VtkShadersActivator &);
44 std::unique_ptr<VtkShaderRepository> m_VtkShaderRepository;
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)