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

Method shutdown

MyGUIEngine/src/MyGUI_ControllerManager.cpp:45–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 void ControllerManager::shutdown()
46 {
47 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
48 MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());
49
50 FactoryManager::getInstance().unregisterFactory<ControllerEdgeHide>(mCategoryName);
51 FactoryManager::getInstance().unregisterFactory<ControllerFadeAlpha>(mCategoryName);
52 FactoryManager::getInstance().unregisterFactory<ControllerPosition>(mCategoryName);
53 FactoryManager::getInstance().unregisterFactory<ControllerRepeatClick>(mCategoryName);
54
55 WidgetManager::getInstance().unregisterUnlinker(this);
56 clear();
57
58 MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
59 mIsInitialise = false;
60 }
61
62 void ControllerManager::clear()
63 {

Callers

nothing calls this directly

Calls 3

getClassTypeNameFunction · 0.85
clearFunction · 0.85
unregisterUnlinkerMethod · 0.80

Tested by

no test coverage detected