19 mSingletonHolder(this)
45 mIsInitialise =
false;
50 StringDynLibMap::iterator it = mLibsMap.find(fileName);
52 if (it != mLibsMap.end())
64 mLibsMap[fileName] = pLib;
70 StringDynLibMap::iterator it = mLibsMap.find(library->
getName());
72 if (it != mLibsMap.end())
75 mDelayDynLib.push_back(library);
81 for (StringDynLibMap::iterator it = mLibsMap.begin(); it != mLibsMap.end(); ++it)
83 mDelayDynLib.push_back(it->second);
89 void DynLibManager::notifyEventFrameStart(
float _time)
96 if (!mDelayDynLib.empty())
99 if (manager !=
nullptr)
102 for (VectorDynLib::iterator entry = mDelayDynLib.begin(); entry != mDelayDynLib.end(); ++entry)
107 mDelayDynLib.clear();
#define MYGUI_ASSERT(exp, dest)
#define MYGUI_LOG(level, text)
Resource holding data about a dynamic library.
std::string getName(void) const
Get the name of the library.
Manager of dynamic libraries.
void _unloadDelayDynLibs()
void unload(DynLib *library)
Unload library.
static const char * getClassTypeName()
DynLib * load(const std::string &fileName)
Load library.
static Gui & getInstance()
EventHandle_FrameEventDelegate eventFrameStart
delegates::DelegateFunction< Args... > * newDelegate(void(*_func)(Args... args))
MYGUI_SINGLETON_DEFINITION(ClipboardManager)