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

Method CheckForIncomingEvents

Core/ClientSML/src/sml_ClientKernel.cpp:1648–1651  ·  view source on GitHub ↗

* @brief See if there are any incoming messages waiting to * be dispatched to event handlers and if so process them. * * This call is intended to be used by remote connections that * have shut down the event thread and are taking over event handling directly. * (A common reason is to ensure the callbacks from events are on the main * execution thread of the call

Source from the content-addressed store, hash-verified

1646* @return True if processes at least one event
1647*************************************************************/
1648bool Kernel::CheckForIncomingEvents()
1649{
1650 return (GetConnection()->ReceiveMessages(true)) ;
1651}
1652
1653/*************************************************************
1654* @brief Register for a particular event at the kernel

Callers

nothing calls this directly

Calls 2

GetConnectionFunction · 0.70
ReceiveMessagesMethod · 0.45

Tested by

no test coverage detected