Concrete implementation of LoopCompletionHandler.
More...
Concrete implementation of LoopCompletionHandler.
Translates application-level completion signals to framework-internal events.
◆ LoopCompletionHandlerImpl()
| ifw::slm::LoopCompletionHandlerImpl::LoopCompletionHandlerImpl |
( |
rad::Application & | appl | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| appl | Reference to RAD application for event posting |
◆ SignalError()
| void ifw::slm::LoopCompletionHandlerImpl::SignalError |
( |
int | loop_index, |
|
|
const std::string & | error_message ) |
|
inlineoverridevirtual |
Signal loop cycle error.
Called by application when a loop cycle encounters an error. Framework will post the appropriate GenCmd<X>_Err event.
- Parameters
-
| loop_index | The loop index (1-9) |
| error_message | Optional error message |
Implements ifw::slm::LoopCompletionHandler.
◆ SignalSuccess()
| void ifw::slm::LoopCompletionHandlerImpl::SignalSuccess |
( |
int | loop_index | ) |
|
|
inlineoverridevirtual |
Signal successful loop cycle completion.
Called by application when a loop cycle completes successfully. Framework will post the appropriate GenCmd<X>_Ok or L<X>CycleDone event.
- Parameters
-
| loop_index | The loop index (1-9) |
Implements ifw::slm::LoopCompletionHandler.
The documentation for this class was generated from the following file: