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

Method UnregisterForEventWithKernel

Core/ClientSML/src/sml_ClientKernel.cpp:1669–1677  ·  view source on GitHub ↗

* @brief Unregister for a particular event at the kernel *************************************************************/

Source from the content-addressed store, hash-verified

1667* @brief Unregister for a particular event at the kernel
1668*************************************************************/
1669void Kernel::UnregisterForEventWithKernel(int id, char const* pAgentName)
1670{
1671 AnalyzeXML response ;
1672
1673 char const* pEvent = m_pEventMap->ConvertToString(id) ;
1674
1675 // Send the unregister command
1676 GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_UnregisterForEvent, pAgentName, sml_Names::kParamEventID, pEvent) ;
1677}
1678
1679class Kernel::TestSystemCallback : public SystemEventMap::ValueTest
1680{

Calls 2

SendAgentCommandMethod · 0.80
GetConnectionFunction · 0.70

Tested by

no test coverage detected