MCPcopy Create free account
hub / github.com/SoarGroup/Soar / GetSVSOutput

Method GetSVSOutput

Core/ClientSML/src/sml_ClientKernel.cpp:2560–2571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2558}
2559
2560std::string Kernel::GetSVSOutput(const char* agentName)
2561{
2562 AnalyzeXML response;
2563 if (GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_SVSOutput, agentName, sml_Names::kParamLine, NULL))
2564 {
2565 return response.GetResultString();
2566 }
2567 else
2568 {
2569 return "";
2570 }
2571}
2572
2573std::string Kernel::SVSQuery(const char* agentName, const std::string& q)
2574{

Callers

nothing calls this directly

Calls 3

SendAgentCommandMethod · 0.80
GetConnectionFunction · 0.70
GetResultStringMethod · 0.45

Tested by

no test coverage detected