Home
last modified time | relevance | path

Searched refs:CommandLine (Results 1 – 7 of 7) sorted by relevance

/ide/tools/previewer/cli/
DCommandLineFactory.h28 static std::unique_ptr<CommandLine> CreateCommandLine(std::string command,
29 CommandLine::CommandType type,
35 static std::unique_ptr<CommandLine>
36 CreateObject(CommandLine::CommandType, const Json::Value&, const LocalSocket& socket);
39 …std::unique_ptr<CommandLine> (*)(CommandLine::CommandType, const Json::Value&, const LocalSocket& …
DCommandLine.h23 class CommandLine {
27 CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket);
28 virtual ~CommandLine();
89 class TouchPressCommand : public CommandLine {
99 class TouchMoveCommand : public CommandLine {
109 class TouchReleaseCommand : public CommandLine {
118 class MouseWheelCommand : public CommandLine {
128 class BackClickedCommand : public CommandLine {
137 class RestartCommand : public CommandLine {
146 class PowerCommand : public CommandLine {
[all …]
DCommandLineInterface.cpp132 CommandLine::CommandType type = GetCommandType(jsonData["type"].asString()); in ProcessCommandMessage()
133 if (type == CommandLine::CommandType::INVALID) { in ProcessCommandMessage()
138 std::unique_ptr<CommandLine> commandLine = 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()
221 std::unique_ptr<CommandLine> command = in ApplyConfigMembers()
222 …CommandLineFactory::CreateCommandLine(key, CommandLine::CommandType::SET, commands[key]["args"], *… in ApplyConfigMembers()
[all …]
DCommandLine.cpp40 CommandLine::CommandLine(CommandType commandType, const Json::Value& arg, const LocalSocket& socket) in CommandLine() function in CommandLine
46 CommandLine::~CommandLine() in ~CommandLine()
51 void CommandLine::CheckAndRun() in CheckAndRun()
63 void CommandLine::SendResult() in SendResult()
72 void CommandLine::RunAndSendResultToManager() in RunAndSendResultToManager()
78 void CommandLine::SendResultToManager() in SendResultToManager()
87 bool CommandLine::IsArgValid() const in IsArgValid()
101 uint8_t CommandLine::ToUint8(std::string str) const in ToUint8()
110 void CommandLine::SetCommandName(std::string command) in SetCommandName()
115 void CommandLine::SetCommandResult(const std::string& resultType, const Json::Value& resultContent) in SetCommandResult()
[all …]
DCommandLineFactory.cpp74 unique_ptr<CommandLine> CommandLineFactory::CreateCommandLine(string command, in CreateCommandLine()
75 CommandLine::CommandType type, in CreateCommandLine()
93 unique_ptr<CommandLine> cmdLine = typeMap[command](type, val, socket); in CreateCommandLine()
102 unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type, in CreateObject()
DCommandLineInterface.h38 …void ApplyConfigCommands(const std::string& key, const std::unique_ptr<CommandLine>& command) cons…
49 CommandLine::CommandType GetCommandType(std::string) const;
DBUILD.gn25 "CommandLine.cpp",
64 "CommandLine.cpp",