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

#include <rte_site_role_policy.h>

Data Fields

bool is_online
bool own_faulted
bool is_west
bool link_up
bool peer_unresponsive
uint32_t cycle
uint32_t peer_last_rx_cycle
bool peer_online_now
bool peer_faulted
bool peer_snapshot_valid
bool sibling_online
bool takeover_confirmed
uint32_t takeover_confirm_cycle
bool lost_peer_while_online
uint32_t both_standby_cycles
bool own_ready
bool sibling_ready
bool sibling_reachable

Detailed Description

Facts the decision needs.

Definition at line 71 of file rte_site_role_policy.h.

Field Documentation

◆ is_online

bool rte_site_role_input_t::is_online

this channel is ONLINE

Definition at line 73 of file rte_site_role_policy.h.

◆ own_faulted

bool rte_site_role_input_t::own_faulted

this channel is FAULTED

Definition at line 74 of file rte_site_role_policy.h.

◆ is_west

bool rte_site_role_input_t::is_west

this channel belongs to the WEST site

Definition at line 75 of file rte_site_role_policy.h.

◆ link_up

bool rte_site_role_input_t::link_up

the inter-site negotiation link is open

Definition at line 76 of file rte_site_role_policy.h.

◆ peer_unresponsive

bool rte_site_role_input_t::peer_unresponsive

the link was declared dead while this channel was STANDBY

Definition at line 77 of file rte_site_role_policy.h.

◆ cycle

uint32_t rte_site_role_input_t::cycle

current cycle

Definition at line 78 of file rte_site_role_policy.h.

◆ peer_last_rx_cycle

uint32_t rte_site_role_input_t::peer_last_rx_cycle

cycle of the newest payload from the counterpart

Definition at line 79 of file rte_site_role_policy.h.

◆ peer_online_now

bool rte_site_role_input_t::peer_online_now

the newest payload says the counterpart is ONLINE

Definition at line 80 of file rte_site_role_policy.h.

◆ peer_faulted

bool rte_site_role_input_t::peer_faulted

the newest payload says the counterpart is FAULTED

Definition at line 81 of file rte_site_role_policy.h.

◆ peer_snapshot_valid

bool rte_site_role_input_t::peer_snapshot_valid

a snapshot from an ONLINE counterpart is held (may be stale)

Definition at line 82 of file rte_site_role_policy.h.

◆ sibling_online

bool rte_site_role_input_t::sibling_online

the A/B sibling channel of this site reports ONLINE

Definition at line 83 of file rte_site_role_policy.h.

◆ takeover_confirmed

bool rte_site_role_input_t::takeover_confirmed

dispatcher confirmation received

Definition at line 84 of file rte_site_role_policy.h.

◆ takeover_confirm_cycle

uint32_t rte_site_role_input_t::takeover_confirm_cycle

cycle at which it was received

Definition at line 85 of file rte_site_role_policy.h.

◆ lost_peer_while_online

bool rte_site_role_input_t::lost_peer_while_online

this channel lost its counterpart while ONLINE

Definition at line 86 of file rte_site_role_policy.h.

◆ both_standby_cycles

uint32_t rte_site_role_input_t::both_standby_cycles

consecutive cycles both sites were STANDBY, as returned last time

Definition at line 87 of file rte_site_role_policy.h.

◆ own_ready

bool rte_site_role_input_t::own_ready

this channel confirms it is ready to be ONLINE (application readiness)

Definition at line 88 of file rte_site_role_policy.h.

◆ sibling_ready

bool rte_site_role_input_t::sibling_ready

the A/B sibling confirms the same (its site-state frame)

Definition at line 89 of file rte_site_role_policy.h.

◆ sibling_reachable

bool rte_site_role_input_t::sibling_reachable

the A/B sibling's site-state frame arrived within the last 3 cycles

Definition at line 90 of file rte_site_role_policy.h.


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