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

Method ClearOutputLinkChanges

Core/ClientSML/src/sml_ClientWorkingMemory.cpp:236–253  ·  view source on GitHub ↗

Clear the delta list and also reset all state flags.

Source from the content-addressed store, hash-verified

234
235// Clear the delta list and also reset all state flags.
236void WorkingMemory::ClearOutputLinkChanges()
237{
238 //std::cout << "ClearOutputLinkChanges" << std::endl;
239 // Clear the list, deleting any WMEs that it owns
240 // Call this even if m_TrackingOutputLinkChanges false in case there was something on it before false
241 m_OutputDeltaList.Clear(true, true, true) ;
242
243 //// We only maintain this information for values on the output link
244 //// as the client knows what's happening on the input link (presumably)
245 //// as it is controlling the creation of those objects.
246 //if (m_OutputLink)
247 //{
248 // // Reset the information about how the output link just changed.
249 // // This is definitely being maintained.
250 // m_OutputLink->ClearJustAdded() ;
251 // m_OutputLink->ClearChildrenModified() ;
252 //}
253}
254
255/*************************************************************
256* @brief This function is called when an output wme has been added.

Callers 1

ClearHandlerStaticMethod · 0.45

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected