Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_appmanager_state_t Struct Reference

Application manager runtime state. More...

#include <sapi_appmanager.h>

Data Fields

sapi_app_state_t state
uint32_t iteration_count
uint32_t error_count
sapi_status_t last_error

Detailed Description

Application manager runtime state.

Definition at line 321 of file sapi_appmanager.h.

Field Documentation

◆ state

sapi_app_state_t sapi_appmanager_state_t::state

Current lifecycle state (init/running/etc.).

Definition at line 322 of file sapi_appmanager.h.

◆ iteration_count

uint32_t sapi_appmanager_state_t::iteration_count

Number of completed execute() cycles.

Definition at line 323 of file sapi_appmanager.h.

◆ error_count

uint32_t sapi_appmanager_state_t::error_count

Number of execute() cycles that returned an error.

Definition at line 324 of file sapi_appmanager.h.

◆ last_error

sapi_status_t sapi_appmanager_state_t::last_error

Most recent non-OK status observed, if any.

Definition at line 325 of file sapi_appmanager.h.


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