18 mSingletonHolder(
this)
37 mIsInitialise =
false;
48 MapRegisterFactoryItem::iterator
category = mRegisterFactoryItems.find(
_category);
49 if (
category == mRegisterFactoryItems.end())
64 MapRegisterFactoryItem::iterator
category = mRegisterFactoryItems.find(
_category);
65 if (
category == mRegisterFactoryItems.end())
69 mRegisterFactoryItems.erase(
category);
74 MapRegisterFactoryItem::iterator
category = mRegisterFactoryItems.find(
_category);
75 if (
category == mRegisterFactoryItems.end())
86 if (type->second.empty())
120 MapRegisterFactoryItem::iterator
category = mRegisterFactoryItems.find(
_category);
121 if (
category == mRegisterFactoryItems.end())
125 MapFactoryItem::iterator type =
category->second.find(
_type);
#define MYGUI_ASSERT(exp, dest)
#define MYGUI_LOG(level, text)
#define MYGUI_SINGLETON_DEFINITION(ClassName)
static std::string getFactoryRename(const std::string &_categoryName, const std::string &_factoryName)
void unregisterFactory(const std::string &_category, const std::string &_type)
bool isFactoryExist(const std::string &_category, const std::string &_type)
static const char * getClassTypeName()
void registerFactory(const std::string &_category, const std::string &_type, Delegate::IDelegate *_delegate)
IObject * createObject(const std::string &_category, const std::string &_type)
void destroyObject(IObject *_object)