Public Types | Public Member Functions | Static Public Member Functions

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 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)
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 36 of file MyGUI_FactoryManager.h.


Constructor & Destructor Documentation

MyGUI::FactoryManager::FactoryManager (  ) 

Definition at line 29 of file MyGUI_FactoryManager.cpp.

MyGUI::FactoryManager::~FactoryManager (  ) 

Definition at line 29 of file MyGUI_FactoryManager.cpp.


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.

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.

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

Definition at line 49 of file MyGUI_FactoryManager.h.

template<typename Type >
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.

template<typename Type >
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.


The documentation for this class was generated from the following files: