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

Method initialise

MyGUIEngine/src/MyGUI_ControllerManager.cpp:29–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void ControllerManager::initialise()
30 {
31 MYGUI_ASSERT(!mIsInitialise, getClassTypeName() << " initialised twice");
32 MYGUI_LOG(Info, "* Initialise: " << getClassTypeName());
33
34 WidgetManager::getInstance().registerUnlinker(this);
35
36 FactoryManager::getInstance().registerFactory<ControllerEdgeHide>(mCategoryName);
37 FactoryManager::getInstance().registerFactory<ControllerFadeAlpha>(mCategoryName);
38 FactoryManager::getInstance().registerFactory<ControllerPosition>(mCategoryName);
39 FactoryManager::getInstance().registerFactory<ControllerRepeatClick>(mCategoryName);
40
41 MYGUI_LOG(Info, getClassTypeName() << " successfully initialized");
42 mIsInitialise = true;
43 }
44
45 void ControllerManager::shutdown()
46 {

Callers

nothing calls this directly

Calls 2

getClassTypeNameFunction · 0.85
registerUnlinkerMethod · 0.80

Tested by

no test coverage detected