#include <CEGUIWindowFactory.h>
Inheritance diagram for CEGUI::WindowFactory:
Public Member Functions | |
virtual Window * | createWindow (const String &name)=0 |
Create a new Window object of whatever type this WindowFactory produces. | |
virtual void | destroyWindow (Window *window)=0 |
Destroys the given Window object. | |
const String & | getTypeName (void) const |
Get the string that describes the type of Window object this WindowFactory produces. | |
virtual | ~WindowFactory (void) |
Protected Member Functions | |
WindowFactory (const String &type) | |
Protected Attributes | |
String | d_type |
String holding the type of object created by this factory. |
A WindowFactory is used to create and destroy windows of a specific type. For every type of Window object wihin the system (widgets, dialogs, movable windows etc) there must be an associated WindowFactory registered with the WindowManager so that the system knows how to create and destroy those types of Window base object.
Definition at line 46 of file CEGUIWindowFactory.h.
|
Definition at line 86 of file CEGUIWindowFactory.h. |
|
Definition at line 89 of file CEGUIWindowFactory.h. |
|
Create a new Window object of whatever type this WindowFactory produces.
Implemented in CEGUI::DragContainerFactory, CEGUI::GUISheetFactory, and CEGUI::ScrolledContainerFactory. Referenced by CEGUI::WindowManager::createWindow(). |
|
Destroys the given Window object.
Implemented in CEGUI::DragContainerFactory, CEGUI::GUISheetFactory, and CEGUI::ScrolledContainerFactory. Referenced by CEGUI::WindowManager::cleanDeadPool(). |
|
Get the string that describes the type of Window object this WindowFactory produces.
Definition at line 80 of file CEGUIWindowFactory.h. Referenced by CEGUI::WindowFactoryManager::addFactory(), and CEGUI::WindowFactoryManager::removeFactory(). |
|
String holding the type of object created by this factory.
Definition at line 95 of file CEGUIWindowFactory.h. Referenced by CEGUI::ScrolledContainerFactory::createWindow(), CEGUI::GUISheetFactory::createWindow(), CEGUI::DragContainerFactory::createWindow(), CEGUI::ScrolledContainerFactory::destroyWindow(), CEGUI::GUISheetFactory::destroyWindow(), and CEGUI::DragContainerFactory::destroyWindow(). |