Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
Loading...
Searching...
No Matches
auterion::FailureReporter Class Reference

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
 

Detailed Description

Reports reasons why a mode cannot arm or run, passed to the Mode::canRun() callback.

Member Function Documentation

◆ fail()

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.


The documentation for this class was generated from the following file: