void AgentSML::RegisterForBeforeAgentDestroyedEvent() { // We should do this immediately before we delete the agent. // We shouldn't do it earlier or we can't be sure it'll be last on the list of listeners which is where we // need it to be (so that we clear our information about the gSKI agent *after* we've notified any of our listeners // about this event). m_pBeforeDestroyedListener = new Agent
| 642 | //} |
| 643 | // |
| 644 | void AgentSML::ScheduleAgentToRun(bool state) |
| 645 | { |
| 646 | if (this->GetRunState() != sml_RUNSTATE_HALTED) |
| 647 | { |
| 648 | m_ScheduledToRun = state ; |
| 649 | m_WasOnRunList = state; |
| 650 | } |
| 651 | } |
| 652 | |
| 653 | /************************************************************* |
| 654 | * @brief Converts an id from a client side value to a kernel side value. |
no test coverage detected