MyGUI::FactoryManager Class Reference

#include <MyGUI_FactoryManager.h>

Public Types

typedef delegates::CDelegate1
< IObject *& > 
Delegate

Public Member Functions

void initialise ()
void shutdown ()
void registerFactory (const std::string &_category, const std::string &_type, Delegate::IDelegate *_delegate)
void unregisterFactory (const std::string &_category, const std::string &_type)
void unregisterFactory (const std::string &_category)
bool isFactoryExist (const std::string &_category, const std::string &_type)
template<typename Type >
void registerFactory (const std::string &_category)
template<typename Type >
void registerFactory (const std::string &_category, const std::string &_type)
template<typename Type >
void unregisterFactory (const std::string &_category)
IObjectcreateObject (const std::string &_category, const std::string &_type)
void destroyObject (IObject *_object)

Detailed Description

Definition at line 34 of file MyGUI_FactoryManager.h.


Member Typedef Documentation

typedef delegates::CDelegate1<IObject*&> MyGUI::FactoryManager::Delegate

Definition at line 39 of file MyGUI_FactoryManager.h.


Member Function Documentation

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.

void MyGUI::FactoryManager::initialise (  ) 

Definition at line 31 of file MyGUI_FactoryManager.cpp.

bool MyGUI::FactoryManager::isFactoryExist ( const std::string &  _category,
const std::string &  _type 
)

Definition at line 126 of file MyGUI_FactoryManager.cpp.

template<typename Type >
void MyGUI::FactoryManager::registerFactory ( const std::string &  _category,
const std::string &  _type 
) [inline]

Definition at line 57 of file MyGUI_FactoryManager.h.

template<typename Type >
void MyGUI::FactoryManager::registerFactory ( const std::string &  _category  )  [inline]

Definition at line 51 of file MyGUI_FactoryManager.h.

void MyGUI::FactoryManager::registerFactory ( 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.

template<typename Type >
void MyGUI::FactoryManager::unregisterFactory ( const std::string &  _category  )  [inline]

Definition at line 63 of file MyGUI_FactoryManager.h.

void MyGUI::FactoryManager::unregisterFactory ( const std::string &  _category  ) 

Definition at line 72 of file MyGUI_FactoryManager.cpp.

void MyGUI::FactoryManager::unregisterFactory ( const std::string &  _category,
const std::string &  _type 
)

Definition at line 56 of file MyGUI_FactoryManager.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Nov 17 15:31:12 2011 for MyGUI by  doxygen 1.6.3