Lines Matching defs:CommandLineInterface

17 #include "CommandLineInterface.h"
29 const std::string CommandLineInterface::COMMAND_VERSION = "1.0.1";
30 bool CommandLineInterface::isFirstWsSend = true;
31 bool CommandLineInterface::isPipeConnected = false;
32 CommandLineInterface::CommandLineInterface() : socket(nullptr) {}
34 CommandLineInterface::~CommandLineInterface() {}
36 void CommandLineInterface::InitPipe(const std::string name)
40 ELOG("CommandLineInterface::InitPipe socket is not null");
45 FLOG("CommandLineInterface::Connect socket memory allocation failed!");
49 FLOG("CommandLineInterface command pipe connect failed");
54 CommandLineInterface& CommandLineInterface::GetInstance()
56 static CommandLineInterface instance; /* NOLINT */
60 void CommandLineInterface::SendJsonData(const Json2::Value& value)
65 void CommandLineInterface::SendJSHeapMemory(size_t total, size_t alloc, size_t peak) const
76 ELOG("CommandLineInterface::SendJSHeapMemory socket is null");
82 void CommandLineInterface::SendWebsocketStartupSignal() const
92 void CommandLineInterface::ProcessCommand() const
96 ELOG("CommandLineInterface::ProcessCommand socket is null");
111 void CommandLineInterface::ProcessCommandMessage(std::string message) const
144 bool CommandLineInterface::ProcessCommandValidate(bool parsingSuccessful,
171 CommandLine::CommandType CommandLineInterface::GetCommandType(std::string name) const
186 void CommandLineInterface::ApplyConfig(const Json2::Value& val) const
210 void CommandLineInterface::ApplyConfigMembers(const Json2::Value& commands,
226 void CommandLineInterface::ApplyConfigCommands(const std::string& key,
239 void CommandLineInterface::Init(std::string pipeBaseName)
245 void CommandLineInterface::ReadAndApplyConfig(std::string path) const
255 void CommandLineInterface::CreatCommandToSendData(const std::string commandName,
269 bool CommandLineInterface::IsStaticIgnoreCmd(const std::string cmd) const