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

Function InterruptCallbackHandler

TestCLI/testcli.cpp:63–68  ·  view source on GitHub ↗

* Handler to pump events during a run. */

Source from the content-addressed store, hash-verified

61 * Handler to pump events during a run.
62 */
63void InterruptCallbackHandler(sml::smlSystemEventId /*id*/, void* userdata, sml::Kernel* kernel)
64{
65 CommandProcessor* cmd = reinterpret_cast<CommandProcessor*>(userdata);
66 cmd->update();
67 kernel->CheckForIncomingCommands();
68}
69

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45

Tested by

no test coverage detected