Searched refs:CommandLine (Results 1 - 9 of 9) sorted by relevance
| /ide/tools/previewer/cli/ |
| H A D | CommandLineFactory.h | 21 #include "CommandLine.h" 28 static std::unique_ptr<CommandLine> CreateCommandLine(std::string command, 29 CommandLine::CommandType type, 35 static std::unique_ptr<CommandLine> 36 CreateObject(CommandLine::CommandType, const Json2::Value&, const LocalSocket& socket); 39 std::unique_ptr<CommandLine> (*)(CommandLine::CommandType, const Json2::Value&, const LocalSocket& socket)>;
|
| H A D | CommandLine.h | 24 class CommandLine { class 28 CommandLine(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket); 29 virtual ~CommandLine(); 107 class TouchPressCommand : public CommandLine, public TouchAndMouseCommand { 117 class TouchMoveCommand : public CommandLine, public TouchAndMouseCommand { 127 class TouchReleaseCommand : public CommandLine, public TouchAndMouseCommand { 137 class MouseWheelCommand : public CommandLine { 147 class BackClickedCommand : public CommandLine { 156 class RestartCommand : public CommandLine { 165 class PowerCommand : public CommandLine { [all...] |
| H A D | CommandLineInterface.cpp | 22 #include "CommandLine.h" 125 CommandLine::CommandType type = GetCommandType(jsonData["type"].AsString()); in ProcessCommandMessage() 126 if (type == CommandLine::CommandType::INVALID) { in ProcessCommandMessage() 135 std::unique_ptr<CommandLine> commandLine = in ProcessCommandMessage() 171 CommandLine::CommandType CommandLineInterface::GetCommandType(std::string name) const in GetCommandType() 173 CommandLine::CommandType type = CommandLine::CommandType::INVALID; in GetCommandType() 175 type = CommandLine::CommandType::SET; in GetCommandType() 177 type = CommandLine::CommandType::GET; in GetCommandType() 179 type = CommandLine in GetCommandType() [all...] |
| H A D | CommandLine.cpp | 16 #include "CommandLine.h" 39 CommandLine::CommandLine(CommandType commandType, const Json2::Value& arg, const LocalSocket& socket) in CommandLine() function in CommandLine 44 CommandLine::~CommandLine() in ~CommandLine() 48 void CommandLine::CheckAndRun() in CheckAndRun() 60 void CommandLine::SendResult() in SendResult() 70 void CommandLine::RunAndSendResultToManager() in RunAndSendResultToManager() 76 void CommandLine::SendResultToManager() in SendResultToManager() 85 bool CommandLine [all...] |
| H A D | CommandLineFactory.cpp | 77 std::unique_ptr<CommandLine> CommandLineFactory::CreateCommandLine(std::string command, in CreateCommandLine() 78 CommandLine::CommandType type, const Json2::Value& val, const LocalSocket& socket) in CreateCommandLine() 94 std::unique_ptr<CommandLine> cmdLine = typeMap[command](type, val, socket); in CreateCommandLine() 103 std::unique_ptr<CommandLine> CommandLineFactory::CreateObject(CommandLine::CommandType type, in CreateObject()
|
| H A D | CommandLineInterface.h | 22 #include "CommandLine.h" 38 void ApplyConfigCommands(const std::string& key, const std::unique_ptr<CommandLine>& command) const; 49 CommandLine::CommandType GetCommandType(std::string name) const;
|
| /ide/tools/previewer/test/unittest/cli/ |
| H A D | CommandLineTest.cpp | 72 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 83 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 93 CommandLine::CommandType type = CommandLine::CommandType::ACTION; in TEST_F() 104 CommandLine::CommandType type = CommandLine::CommandType::SET; in TEST_F() 142 CommandLine::CommandType type = CommandLine in TEST_F() [all...] |
| H A D | CommandLineFactoryTest.cpp | 44 CommandLine::CommandType commandType = CommandLine::CommandType::SET; in TEST() 46 std::unique_ptr<CommandLine> commandLineNull = in TEST() 50 std::unique_ptr<CommandLine> commandLine = in TEST()
|
| H A D | CommandLineInterfaceTest.cpp | 218 EXPECT_EQ(instance.GetCommandType(""), CommandLine::CommandType::INVALID); in TEST() 219 EXPECT_EQ(instance.GetCommandType("set"), CommandLine::CommandType::SET); in TEST() 220 EXPECT_EQ(instance.GetCommandType("get"), CommandLine::CommandType::GET); in TEST() 221 EXPECT_EQ(instance.GetCommandType("action"), CommandLine::CommandType::ACTION); in TEST()
|
Completed in 7 milliseconds