Searched refs:CommandMap (Results 1 – 1 of 1) sorted by relevance
146 static std::map<std::string, callback_t>& CommandMap() { in CommandMap() function155 CommandMap().insert(std::make_pair(cmd_name, callback)); in RegisterCommand()159 CommandMap().erase(cmd_name); in UnRegisterCommand()163 auto it = CommandMap().find(cmd_name); in CreateCommandInstance()164 return (it == CommandMap().end()) ? nullptr : (it->second)(); in CreateCommandInstance()169 for (const auto& pair : CommandMap()) { in GetAllCommandNames()