MyGUI::FactoryManager Class Reference

#include <MyGUI_FactoryManager.h>


Public Types

typedef delegates::CDelegate1
< IObject *& > 
Delegate

Public Member Functions

 FactoryManager ()
 ~FactoryManager ()
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)

Static Public Member Functions

static FactoryManagergetInstance ()
static FactoryManagergetInstancePtr ()


Detailed Description

Definition at line 34 of file MyGUI_FactoryManager.h.


Member Typedef Documentation

Definition at line 39 of file MyGUI_FactoryManager.h.


Constructor & Destructor Documentation

MyGUI::FactoryManager::FactoryManager (  ) 

MyGUI::FactoryManager::~FactoryManager (  ) 


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.

static FactoryManager& MyGUI::FactoryManager::getInstance (  )  [static]

static FactoryManager* MyGUI::FactoryManager::getInstancePtr (  )  [static]

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 Dec 9 14:48:11 2010 for MyGUI by  doxygen 1.5.9