|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Health statistics for one vital channel. More...
#include <sapi_channel.h>
Data Fields | |
| uint32_t | send_count |
| uint32_t | send_error_count |
| uint32_t | receive_count |
| uint32_t | receive_error_count |
| bool | is_healthy |
| sapi_status_t | last_error |
Health statistics for one vital channel.
Definition at line 39 of file sapi_channel.h.
| uint32_t sapi_channel_health_t::send_count |
Number of successful sends on this channel
Definition at line 41 of file sapi_channel.h.
| uint32_t sapi_channel_health_t::send_error_count |
Number of failed sends on this channel
Definition at line 43 of file sapi_channel.h.
| uint32_t sapi_channel_health_t::receive_count |
Number of successful receives on this channel
Definition at line 45 of file sapi_channel.h.
| uint32_t sapi_channel_health_t::receive_error_count |
Number of failed receives (timeout/error) on this channel
Definition at line 47 of file sapi_channel.h.
| bool sapi_channel_health_t::is_healthy |
Is this channel currently considered healthy (set false by its owner - a sapi_voter_t/sapi_cross_comparator_t - after enough consecutive I/O failures; this module itself never clears it).
Definition at line 51 of file sapi_channel.h.
| sapi_status_t sapi_channel_health_t::last_error |
Last error status observed on this channel
Definition at line 53 of file sapi_channel.h.