MCPcopy Create free account
hub / github.com/MyGUI/mygui / shutdown

Method shutdown

MyGUIEngine/src/MyGUI_LayoutManager.cpp:39–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void LayoutManager::shutdown()
40 {
41 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
42 MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());
43
44 ResourceManager::getInstance().unregisterLoadXmlDelegate(mXmlLayoutTagName);
45
46 const std::string& resourceCategory = ResourceManager::getInstance().getCategoryName();
47 FactoryManager::getInstance().unregisterFactory<ResourceLayout>(resourceCategory);
48
49 MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
50 mIsInitialise = false;
51 }
52
53 void LayoutManager::_load(xml::ElementPtr _node, std::string_view _file, Version _version)
54 {

Callers

nothing calls this directly

Calls 2

getClassTypeNameFunction · 0.85

Tested by

no test coverage detected