Home
last modified time | relevance | path

Searched refs:CommandLineInterface (Results 1 – 9 of 9) sorted by relevance

/ide/tools/previewer/cli/
DCommandLineInterface.h25 class CommandLineInterface {
27 CommandLineInterface(const CommandLineInterface&) = delete;
28 CommandLineInterface& operator=(const CommandLineInterface&) = delete;
30 static CommandLineInterface& GetInstance();
46 explicit CommandLineInterface();
47 virtual ~CommandLineInterface();
DCommandLineInterface.cpp31 const string CommandLineInterface::COMMAND_VERSION = "1.0.1";
32 bool CommandLineInterface::isFirstWsSend = true;
33 bool CommandLineInterface::isPipeConnected = false;
34 CommandLineInterface::CommandLineInterface() : socket(nullptr) {} in CommandLineInterface() function in CommandLineInterface
36 CommandLineInterface::~CommandLineInterface() {} in ~CommandLineInterface()
38 void CommandLineInterface::InitPipe(const string name) in InitPipe()
56 CommandLineInterface& CommandLineInterface::GetInstance() in GetInstance()
58 static CommandLineInterface instance; /* NOLINT */ in GetInstance()
62 void CommandLineInterface::SendJsonData(const Json::Value& value) in SendJsonData()
67 void CommandLineInterface::SendJSHeapMemory(size_t total, size_t alloc, size_t peak) const in SendJSHeapMemory()
[all …]
DBUILD.gn27 "CommandLineInterface.cpp",
66 "CommandLineInterface.cpp",
DCommandLineFactory.cpp81 commandResult["version"] = CommandLineInterface::COMMAND_VERSION; in CreateCommandLine()
DCommandLine.cpp117 this->commandResult["version"] = CommandLineInterface::COMMAND_VERSION; in SetCommandResult()
/ide/tools/previewer/
DRichPreviewer.cpp103 commandResult["version"] = CommandLineInterface::COMMAND_VERSION; in NotifyInspectorChanged()
106 CommandLineInterface::GetInstance().SendJsonData(commandResult); in NotifyInspectorChanged()
118 CommandLineInterface::GetInstance().ProcessCommand(); in ProcessCommand()
166 CommandLineInterface::GetInstance().Init(parser.Value("s")); in main()
DThinPreviewer.cpp64 CommandLineInterface::GetInstance().ReadAndApplyConfig(args); in InitJsApp()
132CommandLineInterface::GetInstance().SendJSHeapMemory(status.totalBytes, status.allocBytes, status.… in SendJsHeapData()
167 CommandLineInterface::GetInstance().Init(parser.Value("s")); in main()
188 CommandLineInterface::GetInstance().ProcessCommand(); in main()
/ide/tools/previewer/jsapp/lite/
DTimerTaskHandler.cpp101 result["version"] = CommandLineInterface::COMMAND_VERSION; in CheckBrightnessValueChanged()
105 CommandLineInterface::SendJsonData(result); in CheckBrightnessValueChanged()
/ide/tools/previewer/mock/rich/
DVirtualScreenImpl.cpp139 CommandLineInterface::GetInstance().CreatCommandToSendData("CurrentRouter", val, "get"); in PageCallBack()
147 CommandLineInterface::GetInstance().CreatCommandToSendData("FastPreviewMsg", val, "get"); in FastPreviewCallBack()