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

Method MyEventShutdownHandler

Tests/UnitTests/src/handlers.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void Handlers::MyEventShutdownHandler(sml::smlSystemEventId, void* pUserData, sml::Kernel*)
26{
27 CPPUNIT_ASSERT(pUserData);
28 soar_thread::Event* pEvent = static_cast< soar_thread::Event* >(pUserData);
29 pEvent->TriggerEvent();
30}
31
32void Handlers::MyShutdownTestShutdownHandler(sml::smlSystemEventId, void* pUserData, sml::Kernel* pKernel)
33{

Callers

nothing calls this directly

Calls 1

TriggerEventMethod · 0.45

Tested by

no test coverage detected