29#ifndef _CEGUIWindowRendererManager_h_
30#define _CEGUIWindowRendererManager_h_
32#include "CEGUI/Singleton.h"
33#include "CEGUI/WindowRenderer.h"
34#include "CEGUI/Logger.h"
35#include "CEGUI/Exceptions.h"
36#include "CEGUI/TplWindowRendererFactory.h"
42# pragma warning(disable : 4251)
68 bool isFactoryPresent(
const String& name)
const;
88 static void addFactory();
104 template <
typename T>
105 static void addWindowRendererType();
108 void removeFactory(
const String& name);
132 static OwnedFactoryList d_ownedFactories;
143 if (WindowRendererManager::getSingletonPtr())
145 Logger::getSingleton().logEvent(
"Created WindowRendererFactory for '" +
147 "' WindowRenderers.");
151 WindowRendererManager::getSingleton().addFactory(factory);
155 Logger::getSingleton().logEvent(
"Deleted WindowRendererFactory for "
157 "' WindowRenderers.");
159 CEGUI_DELETE_AO factory;
164 d_ownedFactories.push_back(factory);
Definition MemoryAllocatedObject.h:110
Root exception class used within the GUI system.
Definition Exceptions.h:49
Definition Singleton.h:56
String class used within the GUI system.
Definition String.h:64
Base-class for WindowRendererFactory.
Definition WindowRenderer.h:238
const String & getName() const
Returns the type name of this window renderer factory.
Definition WindowRenderer.h:259
Definition WindowRendererManager.h:51
static void addFactory()
Creates a WindowRendererFactory of the type T and adds it to the system for use.
Definition WindowRendererManager.h:137
static void addWindowRendererType()
Internally creates a factory suitable for creating WindowRenderer objects of the given type and adds ...
Definition WindowRendererManager.h:169
Base-class for the assignable WindowRenderer object.
Definition WindowRenderer.h:52
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1
Functor that can be used as comparator in a std::map with String keys. It's faster than using the def...
Definition String.h:5580