Пример #1
0
 void attach (ModuleObserver& observer)
 {
     if (realised()) {
         observer.realise();
     }
     m_observers.attach(observer);
 }
Пример #2
0
void OpenGLShader::attach (ModuleObserver& observer)
{
	if (realised()) {
		observer.realise();
	}
	m_observers.attach(observer);
}
Пример #3
0
void Doom3ShaderSystem::attach(ModuleObserver& observer)
{
	_observers.attach(observer);

	if (_realised)
	{
		observer.realise();
	}
}