Searched refs:CommandMap (Results 1 – 1 of 1) sorted by relevance
43 static std::map<std::string, callback_t>& CommandMap() { in CommandMap() function52 CommandMap().insert(std::make_pair(cmd_name, callback)); in RegisterCommand()56 CommandMap().erase(cmd_name); in UnRegisterCommand()60 auto it = CommandMap().find(cmd_name); in CreateCommandInstance()61 return (it == CommandMap().end()) ? nullptr : (it->second)(); in CreateCommandInstance()66 for (auto pair : CommandMap()) { in GetAllCommandNames()