#include <MyGUI_FactoryManager.h>
Public Types | |
typedef delegates::CDelegate1 < IObject *& > | Delegate |
Public Member Functions | |
FactoryManager () | |
~FactoryManager () | |
void | initialise () |
void | shutdown () |
void | registryFactory (const std::string &_category, const std::string &_type, Delegate::IDelegate *_delegate) |
void | unregistryFactory (const std::string &_category, const std::string &_type) |
void | unregistryFactory (const std::string &_category) |
template<typename Type > | |
void | registryFactory (const std::string &_category) |
template<typename Type > | |
void | registryFactory (const std::string &_category, const std::string &_type) |
template<typename Type > | |
void | unregistryFactory (const std::string &_category) |
IObject * | createObject (const std::string &_category, const std::string &_type) |
void | destroyObject (IObject *_object) |
Static Public Member Functions | |
static FactoryManager & | getInstance () |
static FactoryManager * | getInstancePtr () |
Definition at line 34 of file MyGUI_FactoryManager.h.
Definition at line 36 of file MyGUI_FactoryManager.h.
MyGUI::FactoryManager::FactoryManager | ( | ) |
Definition at line 29 of file MyGUI_FactoryManager.cpp.
MyGUI::FactoryManager::~FactoryManager | ( | ) |
Definition at line 29 of file MyGUI_FactoryManager.cpp.
IObject * MyGUI::FactoryManager::createObject | ( | const std::string & | _category, | |
const std::string & | _type | |||
) |
Definition at line 82 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::destroyObject | ( | IObject * | _object | ) |
Definition at line 104 of file MyGUI_FactoryManager.cpp.
FactoryManager & MyGUI::FactoryManager::getInstance | ( | ) | [static] |
Definition at line 29 of file MyGUI_FactoryManager.cpp.
FactoryManager * MyGUI::FactoryManager::getInstancePtr | ( | ) | [static] |
Definition at line 29 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::initialise | ( | ) |
Definition at line 31 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::registryFactory | ( | const std::string & | _category | ) | [inline] |
Definition at line 49 of file MyGUI_FactoryManager.h.
void MyGUI::FactoryManager::registryFactory | ( | const std::string & | _category, | |
const std::string & | _type | |||
) | [inline] |
Definition at line 55 of file MyGUI_FactoryManager.h.
void MyGUI::FactoryManager::registryFactory | ( | const std::string & | _category, | |
const std::string & | _type, | |||
Delegate::IDelegate * | _delegate | |||
) |
Definition at line 50 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::shutdown | ( | ) |
Definition at line 41 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::unregistryFactory | ( | const std::string & | _category, | |
const std::string & | _type | |||
) |
Definition at line 56 of file MyGUI_FactoryManager.cpp.
void MyGUI::FactoryManager::unregistryFactory | ( | const std::string & | _category | ) | [inline] |
Definition at line 61 of file MyGUI_FactoryManager.h.
void MyGUI::FactoryManager::unregistryFactory | ( | const std::string & | _category | ) |
Definition at line 72 of file MyGUI_FactoryManager.cpp.