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

Method FireSimpleXML

Core/KernelSML/src/sml_AgentSML.cpp:470–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470void AgentSML::FireSimpleXML(char const* pMsg)
471{
472 // Trigger a callback from the kernel to propagate the event out to listeners.
473 // This allows us to use a single uniform model for all run events (even when some are really originating here in SML).
474 soar_invoke_first_callback(m_agent, PRINT_CALLBACK, /*(ClientData)*/ static_cast<void*>(const_cast<char*>(pMsg)));
475 xml_generate_message(m_agent, pMsg);
476}
477
478static bool maxStepsReached(uint64_t steps, uint64_t maxSteps)
479{

Callers

nothing calls this directly

Calls 2

xml_generate_messageFunction · 0.85

Tested by

no test coverage detected