#include <CEGUIWindowFactoryManager.h>
Inheritance diagram for CEGUI::WindowFactoryManager:
Public Types | |
typedef ConstBaseIterator< WindowFactoryRegistry > | WindowFactoryIterator |
typedef ConstBaseIterator< TypeAliasRegistry > | TypeAliasIterator |
typedef ConstBaseIterator< FalagardMapRegistry > | FalagardMappingIterator |
Public Member Functions | |
WindowFactoryManager (void) | |
Constructs a new WindowFactoryManager object. | |
~WindowFactoryManager (void) | |
Destructor for WindowFactoryManager objects. | |
void | addFactory (WindowFactory *factory) |
Adds a new WindowFactory to the list of registered factories. | |
void | removeFactory (const String &name) |
Removes a WindowFactory from the list of registered factories. | |
void | removeFactory (WindowFactory *factory) |
Removes a WindowFactory from the list of registered factories. | |
void | removeAllFactories (void) |
Remove all WindowFactory objects from the list. | |
WindowFactory * | getFactory (const String &type) const |
Return a pointer to the specified WindowFactory object. | |
bool | isFactoryPresent (const String &name) const |
Checks the list of registered WindowFactory objects for one which creates Window objects of the specified type. | |
void | addWindowTypeAlias (const String &aliasName, const String &targetType) |
Adds an alias for a current window type. | |
void | removeWindowTypeAlias (const String &aliasName, const String &targetType) |
Remove the specified alias mapping. If the alias mapping does not exist, nothing happens. | |
void | addFalagardWindowMapping (const String &newType, const String &targetType, const String &lookName) |
Add a mapping for a falagard based window. | |
void | removeFalagardWindowMapping (const String &type) |
Remove the specified falagard type mapping if it exists. | |
bool | isFalagardMappedType (const String &type) const |
Return whether the given type is a falagard mapped type. | |
const String & | getMappedLookForType (const String &type) const |
Return the name of the LookN'Feel assigned to the specified window mapping. | |
WindowFactoryIterator | getIterator (void) const |
Return a WindowFactoryManager::WindowFactoryIterator object to iterate over the available WindowFactory types. | |
TypeAliasIterator | getAliasIterator (void) const |
Return a WindowFactoryManager::TypeAliasIterator object to iterate over the defined aliases for window types. | |
FalagardMappingIterator | getFalagardMappingIterator () const |
Return a WindowFactoryManager::FalagardMappingIterator object to iterate over the defined falagard window mappings. | |
Singleton (void) | |
Static Public Member Functions | |
static WindowFactoryManager & | getSingleton (void) |
Return singleton WindowFactoryManager object. | |
static WindowFactoryManager * | getSingletonPtr (void) |
Return pointer to singleton WindowFactoryManager object. | |
Static Protected Attributes | |
static WindowFactoryManager * | ms_Singleton = NULL |
Classes | |
class | AliasTargetStack |
struct | FalagardWindowMapping |
struct used to hold mapping information required to create a falagard based window. More... |
Definition at line 51 of file CEGUIWindowFactoryManager.h.
|
Definition at line 374 of file CEGUIWindowFactoryManager.h. |
|
Definition at line 373 of file CEGUIWindowFactoryManager.h. |
|
Definition at line 372 of file CEGUIWindowFactoryManager.h. |
|
Constructs a new WindowFactoryManager object.
Definition at line 119 of file CEGUIWindowFactoryManager.h. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Destructor for WindowFactoryManager objects.
Definition at line 129 of file CEGUIWindowFactoryManager.h. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Adds a new WindowFactory to the list of registered factories.
Definition at line 44 of file CEGUIWindowFactoryManager.cpp. References CEGUI::Logger::getSingleton(), CEGUI::WindowFactory::getTypeName(), and CEGUI::Logger::logEvent(). |
|
Add a mapping for a falagard based window. This function creates maps a target window type and target 'look' name onto a registered window type, thus allowing the ususal window creation interface to be used to create windows that require extra information to full initialise themselves.
Definition at line 250 of file CEGUIWindowFactoryManager.cpp. References CEGUI::WindowFactoryManager::FalagardWindowMapping::d_baseType, CEGUI::WindowFactoryManager::FalagardWindowMapping::d_lookName, CEGUI::WindowFactoryManager::FalagardWindowMapping::d_windowType, CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::Scheme::loadResources(). |
|
Adds an alias for a current window type. This method allows you to create an alias for a specified window type. This means that you can then use either name as the type parameter when creating a window.
Definition at line 189 of file CEGUIWindowFactoryManager.cpp. References CEGUI::Logger::getSingleton(), isFactoryPresent(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::Scheme::loadResources(). |
|
Return a WindowFactoryManager::TypeAliasIterator object to iterate over the defined aliases for window types.
Definition at line 180 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::Scheme::loadResources(), CEGUI::Scheme::resourcesLoaded(), and CEGUI::Scheme::unloadResources(). |
|
Return a pointer to the specified WindowFactory object.
Definition at line 92 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::WindowManager::cleanDeadPool(), CEGUI::WindowManager::createWindow(), and CEGUI::System::~System(). |
|
Return a WindowFactoryManager::FalagardMappingIterator object to iterate over the defined falagard window mappings.
Definition at line 280 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::Scheme::loadResources(), and CEGUI::Scheme::unloadResources(). |
|
Return a WindowFactoryManager::WindowFactoryIterator object to iterate over the available WindowFactory types.
Definition at line 170 of file CEGUIWindowFactoryManager.cpp. |
|
Return the name of the LookN'Feel assigned to the specified window mapping.
Definition at line 290 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::WindowManager::createWindow(). |
|
Return singleton WindowFactoryManager object.
Reimplemented from CEGUI::Singleton< WindowFactoryManager >. Definition at line 154 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::WindowManager::cleanDeadPool(), CEGUI::WindowManager::createWindow(), CEGUI::Scheme::loadResources(), CEGUI::Scheme::resourcesLoaded(), CEGUI::Scheme::unloadResources(), and CEGUI::System::~System(). |
|
Return pointer to singleton WindowFactoryManager object.
Reimplemented from CEGUI::Singleton< WindowFactoryManager >. Definition at line 160 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::System::~System(). |
|
Checks the list of registered WindowFactory objects for one which creates Window objects of the specified type.
Definition at line 138 of file CEGUIWindowFactoryManager.cpp. Referenced by addWindowTypeAlias(), CEGUI::Scheme::loadResources(), and CEGUI::Scheme::resourcesLoaded(). |
|
Return whether the given type is a falagard mapped type.
Definition at line 285 of file CEGUIWindowFactoryManager.cpp. Referenced by CEGUI::WindowManager::createWindow(). |
|
Remove all WindowFactory objects from the list.
Definition at line 215 of file CEGUIWindowFactoryManager.h. Referenced by CEGUI::System::~System(). |
|
Removes a WindowFactory from the list of registered factories.
Definition at line 79 of file CEGUIWindowFactoryManager.cpp. References CEGUI::WindowFactory::getTypeName(), and removeFactory(). |
|
Removes a WindowFactory from the list of registered factories.
Definition at line 68 of file CEGUIWindowFactoryManager.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). Referenced by removeFactory(), and CEGUI::Scheme::unloadResources(). |
|
Remove the specified falagard type mapping if it exists.
Definition at line 269 of file CEGUIWindowFactoryManager.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::Scheme::unloadResources(). |
|
Remove the specified alias mapping. If the alias mapping does not exist, nothing happens.
Definition at line 216 of file CEGUIWindowFactoryManager.cpp. References CEGUI::Logger::getSingleton(), CEGUI::Informative, and CEGUI::Logger::logEvent(). Referenced by CEGUI::Scheme::unloadResources(). |
|
Definition at line 58 of file CEGUISingleton.h. |
|
Definition at line 38 of file CEGUIWindowFactoryManager.cpp. |