|
CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
|
Walks the prerequisites list of a plugin manifest before plugin_on_enter. More...
#include "plugin_manager/Plugin.h"Go to the source code of this file.
Classes | |
| class | cdc::plugin_manager::Prerequisites |
Namespaces | |
| namespace | cdc |
| namespace | cdc::plugin_manager |
Enumerations | |
| enum class | cdc::plugin_manager::PrereqResult { cdc::plugin_manager::Ok , cdc::plugin_manager::SoftFailed , cdc::plugin_manager::HardFailed } |
Walks the prerequisites list of a plugin manifest before plugin_on_enter.
Each prerequisite either checks a precondition (time_synced, battery_min, unlocked, ...) or actively brings up a resource (wifi_connected, ble_active). Successfully-acquired resources are tracked on the Plugin so PluginManager can release them in reverse order during stopPlugin / on_exit.
Definition in file Prerequisites.h.