|
Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
|
Reports reasons why a mode cannot arm or run, passed to the Mode::canRun() callback. More...
#include <auterion_sdk/control/mode.hpp>
Public Member Functions | |
| void | fail (ModeFailureReason reason) |
| Reports a reason why the mode cannot arm or run. | |
Friends | |
| class | ModeImpl |
Reports reasons why a mode cannot arm or run, passed to the Mode::canRun() callback.
| void auterion::FailureReporter::fail | ( | ModeFailureReason | reason | ) |
Reports a reason why the mode cannot arm or run.
Can be called multiple times to report all failing conditions. ModeFailureReason::None is ignored.