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

Method InitEvents

Core/ClientSML/src/sml_ClientKernel.cpp:130–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void Kernel::InitEvents()
131{
132 // Register for init-soar events
133 RegisterForAgentEvent(smlEVENT_AFTER_AGENT_REINITIALIZED, &InitSoarHandler, NULL) ;
134
135 // Register for load-library events (local client only)
136 if (!this->GetConnection()->IsRemoteConnection())
137 {
138 RegisterForStringEvent(smlEVENT_LOAD_LIBRARY, &LoadLibraryHandler, NULL);
139 RegisterForStringEvent(smlEVENT_CLI_EXTENSION_MESSAGE, &CliExtensionMessageHandler, NULL);
140 }
141}
142
143/*************************************************************
144* @brief True if our connection to the kernel has been closed.

Callers 2

Calls 2

IsRemoteConnectionMethod · 0.45
GetConnectionMethod · 0.45

Tested by

no test coverage detected