* @brief Returns the id object for the input link. * The agent retains ownership of this object. *************************************************************/
| 623 | * The agent retains ownership of this object. |
| 624 | *************************************************************/ |
| 625 | Identifier* 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 |
nothing calls this directly
no test coverage detected