Searched refs:CommandType (Results 1 – 6 of 6) sorted by relevance
/ide/tools/previewer/cli/ |
D | CommandLine.h | 25 enum class CommandType { SET = 0, GET, ACTION, INVALID }; enum 27 CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 45 CommandType type; 91 TouchPressCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 101 TouchMoveCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 111 TouchReleaseCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 120 MouseWheelCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 130 BackClickedCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 139 RestartCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); 148 PowerCommand(CommandType commandType, const Json::Value& arg, const LocalSocket& socket); [all …]
|
D | CommandLineFactory.h | 29 CommandLine::CommandType type, 36 CreateObject(CommandLine::CommandType, const Json::Value&, const LocalSocket& socket); 39 …std::unique_ptr<CommandLine> (*)(CommandLine::CommandType, const Json::Value&, const LocalSocket& …
|
D | CommandLineInterface.cpp | 132 CommandLine::CommandType type = GetCommandType(jsonData["type"].asString()); in ProcessCommandMessage() 133 if (type == CommandLine::CommandType::INVALID) { in ProcessCommandMessage() 173 CommandLine::CommandType CommandLineInterface::GetCommandType(string name) const in GetCommandType() 175 CommandLine::CommandType type = CommandLine::CommandType::INVALID; in GetCommandType() 177 type = CommandLine::CommandType::SET; in GetCommandType() 179 type = CommandLine::CommandType::GET; in GetCommandType() 181 type = CommandLine::CommandType::ACTION; in GetCommandType() 222 …CommandLineFactory::CreateCommandLine(key, CommandLine::CommandType::SET, commands[key]["args"], *… in ApplyConfigMembers() 260 CommandLine::CommandType commandType = GetCommandType(type); in CreatCommandToSendData()
|
D | CommandLine.cpp | 40 CommandLine::CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket) in CommandLine() 89 if (type == CommandType::GET) { in IsArgValid() 92 if (type == CommandType::SET) { in IsArgValid() 95 if (type == CommandType::ACTION) { in IsArgValid() 132 if (type == CommandType::GET) { in Run() 134 } else if (type == CommandType::SET) { in Run() 136 } else if (type == CommandType::ACTION) { in Run() 181 TouchPressCommand::TouchPressCommand(CommandType commandType, const Json::Value& arg, const LocalSo… in TouchPressCommand() 207 MouseWheelCommand::MouseWheelCommand(CommandType commandType, const Json::Value& arg, const LocalSo… in MouseWheelCommand() 222 TouchReleaseCommand::TouchReleaseCommand(CommandType commandType, const Json::Value& arg, const Loc… in TouchReleaseCommand() [all …]
|
D | CommandLineFactory.cpp | 75 CommandLine::CommandType type, in CreateCommandLine() 102 unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type, in CreateObject()
|
D | CommandLineInterface.h | 49 CommandLine::CommandType GetCommandType(std::string) const;
|