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

Method executeCommand

UnitTests/UnitTest_Layers/CommandManager.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 void CommandManager::executeCommand(std::string_view _name, MyGUI::Any _data)
25 {
26 MapDelegate::iterator item = mDelegates.find(_name);
27 if (item != mDelegates.end())
28 (*item).second(_name, _data);
29 }
30
31 void CommandManager::registerCommand(std::string_view _name, CommandDelegate::IDelegate* _delegate)
32 {

Callers 2

KeyboardPanelMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected