27 #ifndef _CEGUITplWRFactoryRegisterer_h_ 28 #define _CEGUITplWRFactoryRegisterer_h_ 30 #include "CEGUI/FactoryRegisterer.h" 31 #include "CEGUI/WindowRendererManager.h" 66 WindowRendererManager::getSingleton().removeFactory(
d_type);
73 WindowRendererManager::addWindowRendererType<T>();
80 return WindowRendererManager::getSingleton().isFactoryPresent(
d_type);
87 #endif // end of guard _CEGUITplWRFactoryRegisterer_h_ bool isAlreadyRegistered() const
Function to check if factory for our type is already registered.
Definition: TplWRFactoryRegisterer.h:78
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
const String d_type
describes the type this class registers a factory for.
Definition: FactoryRegisterer.h:63
Base class encapsulating a type name and common parts of factory registration.
Definition: FactoryRegisterer.h:41
TplWRFactoryRegisterer()
Constructor.
Definition: TplWRFactoryRegisterer.h:58
void doFactoryAdd() const
Function to do the actual addition of a factory to the CEGUI system.
Definition: TplWRFactoryRegisterer.h:71
Template based implementation of FactoryRegisterer that allows easy registration of a factory for any...
Definition: TplWRFactoryRegisterer.h:42
void unregisterFactory() const
Perform unregistration (removal) of the factory for whichever type this class registers a factory for...
Definition: TplWRFactoryRegisterer.h:64