Crazy Eddie's GUI System 0.8.7
Loading...
Searching...
No Matches
CEGUI::TplWRFactoryRegisterer< T > Class Template Reference

Template based implementation of FactoryRegisterer that allows easy registration of a factory for any WindowRenderer type. More...

#include <TplWRFactoryRegisterer.h>

+ Inheritance diagram for CEGUI::TplWRFactoryRegisterer< T >:
+ Collaboration diagram for CEGUI::TplWRFactoryRegisterer< T >:

Public Member Functions

 TplWRFactoryRegisterer ()
 Constructor.
 
void unregisterFactory () const
 Perform unregistration (removal) of the factory for whichever type this class registers a factory for.
 
- Public Member Functions inherited from CEGUI::FactoryRegisterer
virtual ~FactoryRegisterer ()
 Destructor.
 
void registerFactory () const
 Perform registration (addition) of the factory for whichever type this class registers a factory for.
 

Protected Member Functions

void doFactoryAdd () const
 Function to do the actual addition of a factory to the CEGUI system.
 
bool isAlreadyRegistered () const
 Function to check if factory for our type is already registered.
 
- Protected Member Functions inherited from CEGUI::FactoryRegisterer
 FactoryRegisterer (const String &type)
 Constructor.
 

Additional Inherited Members

- Public Attributes inherited from CEGUI::FactoryRegisterer
const String d_type
 describes the type this class registers a factory for.
 

Detailed Description

template<typename T>
class CEGUI::TplWRFactoryRegisterer< T >

Template based implementation of FactoryRegisterer that allows easy registration of a factory for any WindowRenderer type.

Member Function Documentation

◆ doFactoryAdd()

template<typename T >
void CEGUI::TplWRFactoryRegisterer< T >::doFactoryAdd ( ) const
protectedvirtual

Function to do the actual addition of a factory to the CEGUI system.

Implements CEGUI::FactoryRegisterer.

◆ isAlreadyRegistered()

template<typename T >
bool CEGUI::TplWRFactoryRegisterer< T >::isAlreadyRegistered ( ) const
protectedvirtual

Function to check if factory for our type is already registered.

Implements CEGUI::FactoryRegisterer.

◆ unregisterFactory()

template<typename T >
void CEGUI::TplWRFactoryRegisterer< T >::unregisterFactory ( ) const
virtual

Perform unregistration (removal) of the factory for whichever type this class registers a factory for.

Implements CEGUI::FactoryRegisterer.