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

Method shutdown

MyGUIEngine/src/MyGUI_LayerManager.cpp:44–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void LayerManager::shutdown()
45 {
46 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
47 MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());
48
49 FactoryManager::getInstance().unregisterFactory<SharedLayer>(mCategoryName);
50 FactoryManager::getInstance().unregisterFactory<OverlappedLayer>(mCategoryName);
51
52 // удаляем все хранители слоев
53 clear();
54
55 WidgetManager::getInstance().unregisterUnlinker(this);
56 ResourceManager::getInstance().unregisterLoadXmlDelegate(mCategoryName);
57
58 MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
59 mIsInitialise = false;
60 }
61
62 void LayerManager::clear()
63 {

Callers

nothing calls this directly

Calls 4

getClassTypeNameFunction · 0.85
clearFunction · 0.85
unregisterUnlinkerMethod · 0.80

Tested by

no test coverage detected