![]() |
OGRE
14.2
Object-Oriented Graphics Rendering Engine
|
Defines the interface which all components wishing to supply OverlayElement subclasses must implement. More...
#include <OgreOverlayElementFactory.h>
Public Member Functions | |
virtual | ~OverlayElementFactory () |
Destroy the overlay element factory. More... | |
virtual OverlayElement * | createOverlayElement (const String &instanceName)=0 |
Creates a new OverlayElement instance with the name supplied. More... | |
virtual void | destroyOverlayElement (OverlayElement *pElement) |
Destroys a OverlayElement which this factory created previously. More... | |
virtual const String & | getTypeName (void) const =0 |
Gets the string uniquely identifying the type of element this factory creates. More... | |
Defines the interface which all components wishing to supply OverlayElement subclasses must implement.
To allow the OverlayElement types available for inclusion on overlays to be extended, OGRE allows external apps or plugins to register their ability to create custom OverlayElements with the OverlayManager, using the addOverlayElementFactory method. Classes wanting to do this must implement this interface.
|
inlinevirtual |
Destroy the overlay element factory.
|
pure virtual |
Creates a new OverlayElement instance with the name supplied.
|
inlinevirtual |
Destroys a OverlayElement which this factory created previously.
|
pure virtual |
Gets the string uniquely identifying the type of element this factory creates.