|
RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
|
Central application context owned by composition root (main.c). More...
#include <ab_gp_channel_types.h>
Data Structures | |
| struct | [struct].neg_peer_extra |
Central application context owned by composition root (main.c).
Definition at line 154 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::is_role_a |
Definition at line 156 of file ab_gp_channel_types.h.
| rte_example_site_t ab_gp_channel_context_t::site |
Definition at line 157 of file ab_gp_channel_types.h.
| char ab_gp_channel_context_t::role_tag_buf[16] |
Definition at line 158 of file ab_gp_channel_types.h.
| const char* ab_gp_channel_context_t::role_tag |
Definition at line 159 of file ab_gp_channel_types.h.
| rte_redundancy_config_t ab_gp_channel_context_t::redundancy |
Definition at line 171 of file ab_gp_channel_types.h.
| char ab_gp_channel_context_t::checkpoint_channel_name_buf[16] |
Definition at line 177 of file ab_gp_channel_types.h.
| ab_gp_config_t ab_gp_channel_context_t::config |
Definition at line 180 of file ab_gp_channel_types.h.
| ab_gp_com_t ab_gp_channel_context_t::com |
Definition at line 181 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::stop_requested |
Definition at line 183 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::last_accepted_peer_cycle |
Definition at line 185 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::peer_cycle_seen |
Definition at line 186 of file ab_gp_channel_types.h.
| rte_timestamp_ms_t ab_gp_channel_context_t::checkpoint_relaxed_until_ms |
Definition at line 188 of file ab_gp_channel_types.h.
| rte_timestamp_ms_t ab_gp_channel_context_t::startup_timestamp_ms |
agreed with the A/B sibling over the peer link at start (ab_gp_channel_negotiate.c), 0 until then
Definition at line 194 of file ab_gp_channel_types.h.
| rte_timestamp_ms_t ab_gp_channel_context_t::sibling_startup_timestamp_ms |
the sibling's last STARTUP_TS value (valid when have_sibling_startup_timestamp)
Definition at line 195 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::have_sibling_startup_timestamp |
a STARTUP_TS frame from the sibling has been seen
Definition at line 196 of file ab_gp_channel_types.h.
| rte_site_role_t ab_gp_channel_context_t::site_role |
Definition at line 197 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::site_role_tx[RTE_EXAMPLE_SITE_EXTRA_PAYLOAD_SIZE] |
Definition at line 198 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::site_role_rx[RTE_EXAMPLE_SITE_EXTRA_PAYLOAD_SIZE] |
Definition at line 199 of file ab_gp_channel_types.h.
| char ab_gp_channel_context_t::site_role_peer_tag[16] |
Definition at line 200 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::last_relay_rx_cycle |
cycle in which the Gateway relay last delivered any frame
Definition at line 202 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::join_window_cycles_left |
cycles left in which a missed train connect may be adopted from the A/B sibling
Definition at line 203 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::is_online |
Definition at line 205 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::own_faulted |
Definition at line 206 of file ab_gp_channel_types.h.
| struct ab_gp_channel_context_t::[struct].neg_peer_extra ab_gp_channel_context_t::neg_peer_extra |
| ab_gp_sibling_state_t ab_gp_channel_context_t::peer_site_state |
the A/B sibling's last site-state frame, handed to rte_site_role through the sibling source
Definition at line 217 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::xcompare_skew_skips |
consecutive cycles skipped for a peer cycle number beyond the skew tolerance
Definition at line 218 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::has_cached_checkpoint_reply |
Definition at line 234 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::cached_checkpoint_reply[sizeof(rte_vital_message_t)] |
Definition at line 235 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::has_cached_checkpoint_request |
Definition at line 236 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::cached_checkpoint_request[sizeof(rte_vital_message_t)] |
Definition at line 237 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::last_peer_checkpoint_cycle |
Definition at line 246 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::has_last_sent_checkpoint_arrival |
Definition at line 253 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::last_sent_checkpoint_arrival[sizeof(rte_vital_message_t)] |
Definition at line 254 of file ab_gp_channel_types.h.
| rte_watchdog_t ab_gp_channel_context_t::watchdog |
Definition at line 256 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::single_mode |
Definition at line 257 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::was_online |
Definition at line 258 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::last_peer_sample_cycle |
Definition at line 259 of file ab_gp_channel_types.h.
| rte_timer_storage_t ab_gp_channel_context_t::cycle_timer_storage |
Definition at line 261 of file ab_gp_channel_types.h.
| rte_timer_handle_t ab_gp_channel_context_t::cycle_timer_handle |
Definition at line 262 of file ab_gp_channel_types.h.
| ab_gp_cycle_ticks_t ab_gp_channel_context_t::cycle_ticks |
timer callback posts, cycle thread takes; mutex-guarded (ISS-051)
Definition at line 263 of file ab_gp_channel_types.h.
| rte_timestamp_ms_t ab_gp_channel_context_t::last_cycle_wall_ms |
monotonic time of the previous cycle tick, 64-bit (0 = none yet; ISS-052)
Definition at line 264 of file ab_gp_channel_types.h.
| ab_gp_train_session_t ab_gp_channel_context_t::sessions[RTE_EXAMPLE_MAX_TRAINS] |
Definition at line 267 of file ab_gp_channel_types.h.
| ab_gp_db_t ab_gp_channel_context_t::db |
Definition at line 268 of file ab_gp_channel_types.h.
| void* ab_gp_channel_context_t::checkpoint_channel_handle |
Definition at line 271 of file ab_gp_channel_types.h.
| rte_channel_t ab_gp_channel_context_t::checkpoint_vc |
Definition at line 272 of file ab_gp_channel_types.h.
| rte_voter_t ab_gp_channel_context_t::checkpoint_voter |
Definition at line 273 of file ab_gp_channel_types.h.
| rte_appmanager_checkpoint_config_t ab_gp_channel_context_t::checkpoint_cfg |
Definition at line 274 of file ab_gp_channel_types.h.
| rte_cross_comparator_t ab_gp_channel_context_t::xcompare_cmp |
Definition at line 279 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::xcompare_skip_count[RTE_EXAMPLE_MAX_TRAINS] |
Definition at line 280 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::adopt_pending[RTE_EXAMPLE_MAX_TRAINS] |
consecutive cycles a session was held by the sibling only
Definition at line 281 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::cycle |
Definition at line 283 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::cyc_cycle |
Definition at line 286 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::cyc_have_channel_data |
Definition at line 287 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::cyc_have_peer_data |
Definition at line 288 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::cyc_peer_cycle |
Definition at line 289 of file ab_gp_channel_types.h.
| ab_gp_train_session_t ab_gp_channel_context_t::cyc_peer_sessions[RTE_EXAMPLE_MAX_TRAINS] |
Definition at line 290 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::cyc_crc_ok |
Definition at line 291 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::cyc_agree |
Definition at line 292 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::cyc_msg_type_due[RTE_EXAMPLE_MAX_TRAINS] |
Definition at line 294 of file ab_gp_channel_types.h.
| bool ab_gp_channel_context_t::cyc_position_reply_due[RTE_EXAMPLE_MAX_TRAINS] |
Definition at line 295 of file ab_gp_channel_types.h.
| ab_gp_saf_train_t ab_gp_channel_context_t::saf_train |
Definition at line 298 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::deferred_peer_frames[AB_GP_DEFERRED_PEER_FRAMES][PEER_WIRE_FRAME_SIZE] |
Definition at line 303 of file ab_gp_channel_types.h.
| uint8_t ab_gp_channel_context_t::deferred_peer_count |
Definition at line 304 of file ab_gp_channel_types.h.
| ab_gp_staged_send_t ab_gp_channel_context_t::staged_sends[AB_GP_MAX_STAGED_SENDS_PER_CYCLE] |
Definition at line 307 of file ab_gp_channel_types.h.
| uint32_t ab_gp_channel_context_t::staged_send_count |
Definition at line 308 of file ab_gp_channel_types.h.