* @brief Returns true if one or more agents are currently running. * * Can be used in conjunction with StopAllAgents() to make sure * all agents have actually terminated their runs. *************************************************************/
| 1528 | * all agents have actually terminated their runs. |
| 1529 | *************************************************************/ |
| 1530 | bool Kernel::IsSoarRunning() |
| 1531 | { |
| 1532 | AnalyzeXML response ; |
| 1533 | |
| 1534 | bool ok = (GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_IsSoarRunning)) ; |
| 1535 | |
| 1536 | if (ok) |
| 1537 | { |
| 1538 | return response.GetResultBool(false) ; |
| 1539 | } |
| 1540 | |
| 1541 | return ok ; |
| 1542 | } |
| 1543 | |
| 1544 | /************************************************************* |
| 1545 | * @brief Causes the kernel to issue a SYSTEM_START event. |
nothing calls this directly
no test coverage detected