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

Method GetInputLink

Core/ClientSML/src/sml_ClientWorkingMemory.cpp:625–638  ·  view source on GitHub ↗

* @brief Returns the id object for the input link. * The agent retains ownership of this object. *************************************************************/

Source from the content-addressed store, hash-verified

623* The agent retains ownership of this object.
624*************************************************************/
625Identifier* WorkingMemory::GetInputLink()
626{
627 if (!m_InputLink)
628 {
629 AnalyzeXML response ;
630
631 if (GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_GetInputLink, GetAgentName()))
632 {
633 m_InputLink = new Identifier(GetAgent(), "input-link", response.GetResultString(), GenerateTimeTag()) ;
634 }
635 }
636
637 return m_InputLink ;
638}
639
640/*************************************************************
641* @brief This method is used to update this client's representation

Callers

nothing calls this directly

Calls 4

SendAgentCommandMethod · 0.80
GetConnectionFunction · 0.70
GetAgentFunction · 0.70
GetResultStringMethod · 0.45

Tested by

no test coverage detected