void detach (ModuleObserver& observer) { if (realised()) { observer.unrealise(); } m_observers.detach(observer); }
void attach (ModuleObserver& observer) { if (realised()) { observer.realise(); } m_observers.attach(observer); }
void OpenGLShader::detach (ModuleObserver& observer) { if (realised()) { observer.unrealise(); } m_observers.detach(observer); }
void OpenGLShader::attach (ModuleObserver& observer) { if (realised()) { observer.realise(); } m_observers.attach(observer); }
void Doom3ShaderSystem::detach(ModuleObserver& observer) { if (_realised) { observer.unrealise(); } _observers.detach(observer); }
void Doom3ShaderSystem::attach(ModuleObserver& observer) { _observers.attach(observer); if (_realised) { observer.realise(); } }