Crazy Eddie's GUI System  0.8.7
CEGUI::FactoryRegisterer Class Referenceabstract

Base class encapsulating a type name and common parts of factory registration. More...

+ Inheritance diagram for CEGUI::FactoryRegisterer:
+ Collaboration diagram for CEGUI::FactoryRegisterer:

Public Member Functions

virtual ~FactoryRegisterer ()
 Destructor.
 
void registerFactory () const
 Perform registration (addition) of the factory for whichever type this class registers a factory for.
 
virtual void unregisterFactory () const =0
 Perform unregistration (removal) of the factory for whichever type this class registers a factory for.
 

Public Attributes

const String d_type
 describes the type this class registers a factory for.
 

Protected Member Functions

 FactoryRegisterer (const String &type)
 Constructor.
 
virtual void doFactoryAdd () const =0
 Function to do the actual addition of a factory to the CEGUI system.
 
virtual bool isAlreadyRegistered () const =0
 Function to check if factory for our type is already registered.
 

Detailed Description

Base class encapsulating a type name and common parts of factory registration.