28 #ifndef _CEGUIRenderEffectManager_h_
29 #define _CEGUIRenderEffectManager_h_
31 #include "CEGUISingleton.h"
32 #include "CEGUIIteratorBase.h"
33 #include "CEGUILogger.h"
34 #include "CEGUIExceptions.h"
35 #include "CEGUIRenderEffectFactory.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
60 typedef std::map<RenderEffect*, RenderEffectFactory*> EffectCreatorMap;
63 RenderEffectRegistry d_effectRegistry;
65 EffectCreatorMap d_effects;
98 void addEffect(
const String& name);
116 void removeEffect(
const String& name);
130 bool isEffectAvailable(
const String& name)
const;
171 template <
typename T>
176 "A RenderEffect is already registered under the name '" +
182 Logger::getSingleton().logEvent(
183 "Registered RenderEffect named '" + name +
"'");
191 #if defined(_MSC_VER)
192 # pragma warning(pop)
195 #endif // end of guard _CEGUIRenderEffectManager_h_
ConstBaseIterator< RenderEffectRegistry > RenderEffectIterator
Iterator type that iterates over entries in the RenderEffectRegistry.
Definition: CEGUIRenderEffectManager.h:69
Interface for objects that hook into RenderingWindow to affect the rendering process, thus allowing various effects to be achieved.
Definition: CEGUIRenderEffect.h:41
Singleton class that manages creation and destruction of RenderEffect based objects.
Definition: CEGUIRenderEffectManager.h:51
void addEffect(const String &name)
Register a RenderEffect type with the system and associate it with the identifier name...
Definition: CEGUIRenderEffectManager.h:172
Exception class used when an attempt is made create a named object of a particular type when an objec...
Definition: CEGUIExceptions.h:406
Interface for factory objects that create RenderEffect instances. Currently this interface is intende...
Definition: CEGUIRenderEffectFactory.h:41
Base class constant iterator used to offer iteration over various collections within the system...
Definition: CEGUIIteratorBase.h:47
Definition: CEGUISingleton.h:56
Templatised RenderEffectFactory subclass used internally by the system.
Definition: CEGUIRenderEffectFactory.h:56
Functor that can be used as comparator in a std::map with String keys. It's faster than using the def...
Definition: CEGUIString.h:334
bool isEffectAvailable(const String &name) const
Return whether a RenderEffect has been registered under the specified name.
String class used within the GUI system.
Definition: CEGUIString.h:57