============================= Clear any existing interrupt requests (Generally done before starting a run) =============================
| 427 | // (Generally done before starting a run) |
| 428 | //============================= |
| 429 | void AgentSML::ClearInterrupts() |
| 430 | { |
| 431 | // Clear the interrupts whether running or not |
| 432 | m_interruptFlags = 0; |
| 433 | |
| 434 | // Only change state of agent if it is running |
| 435 | if (m_runState == sml_RUNSTATE_INTERRUPTED) |
| 436 | { |
| 437 | // We returned, and thus are stopped |
| 438 | m_runState = sml_RUNSTATE_STOPPED; |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | smlRunResult AgentSML::StepInClientThread(smlRunStepSize stepSize) |
| 443 | { |