Crazy Eddie's GUI System  0.8.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::WindowRendererManager Class Reference
+ Inheritance diagram for CEGUI::WindowRendererManager:
+ Collaboration diagram for CEGUI::WindowRendererManager:

Public Member Functions

bool isFactoryPresent (const String &name) const
 
WindowRendererFactorygetFactory (const String &name) const
 
void addFactory (WindowRendererFactory *wr)
 
void removeFactory (const String &name)
 
WindowRenderercreateWindowRenderer (const String &name)
 
void destroyWindowRenderer (WindowRenderer *wr)
 
template<typename T >
void addFactory ()
 
template<typename T >
void addWindowRendererType ()
 

Static Public Member Functions

static WindowRendererManagergetSingleton ()
 
static WindowRendererManagergetSingletonPtr ()
 
template<typename T >
static void addFactory ()
 Creates a WindowRendererFactory of the type T and adds it to the system for use. More...
 
template<typename T >
static void addWindowRendererType ()
 Internally creates a factory suitable for creating WindowRenderer objects of the given type and adds it to the system. More...
 
- Static Public Member Functions inherited from CEGUI::Singleton< WindowRendererManager >
static WindowRendererManagergetSingleton (void)
 
static WindowRendererManagergetSingletonPtr (void)
 

Additional Inherited Members

- Static Protected Attributes inherited from CEGUI::Singleton< WindowRendererManager >
static WindowRendererManagerms_Singleton
 

Member Function Documentation

template<typename T >
static void CEGUI::WindowRendererManager::addFactory ( )
static

Creates a WindowRendererFactory of the type T and adds it to the system for use.

The created WindowRendererFactory will automatically be deleted when the
factory is removed from the system (either directly or at system
deletion time).
Template Parameters
TSpecifies the type of WindowRendererFactory subclass to add a factory for.
template<typename T >
static void CEGUI::WindowRendererManager::addWindowRendererType ( )
static

Internally creates a factory suitable for creating WindowRenderer objects of the given type and adds it to the system.

Note
The internally created factory is owned and managed by CEGUI, and will be automatically deleted when the WindowRenderer type is removed from the system - either directly by calling WindowRendererManager::removeFactory or at system shut down.
Template Parameters
TSpecifies the type of WindowRenderer to add a factory for.