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_dual_negotiator_t Struct Reference

One rte_dual_negotiator_t instance's state. Caller-owned storage; every field is private - reach it only through the functions below. More...

#include <rte_dual_negotiator.h>

Collaboration diagram for rte_dual_negotiator_t:
[legend]

Data Fields

rte_dual_channel_t * channel
uint32_t own_id
uint32_t peer_id
rte_duration_ms_t peer_lost_timeout_ms
rte_dual_negotiator_state_change_callback_t state_change_callback
void * state_change_callback_ctx
uint64_t own_startup_timestamp_ms
bool own_channel_degraded
bool have_peer_startup_timestamp
uint64_t peer_startup_timestamp_ms
bool peer_channel_degraded
rte_dual_state_t own_state
rte_dual_state_t peer_state
bool have_last_peer_seen
rte_timestamp_ms_t last_peer_seen_ms

Detailed Description

One rte_dual_negotiator_t instance's state. Caller-owned storage; every field is private - reach it only through the functions below.

Definition at line 81 of file rte_dual_negotiator.h.

Field Documentation

◆ channel

rte_dual_channel_t* rte_dual_negotiator_t::channel

Definition at line 83 of file rte_dual_negotiator.h.

◆ own_id

uint32_t rte_dual_negotiator_t::own_id

Definition at line 84 of file rte_dual_negotiator.h.

◆ peer_id

uint32_t rte_dual_negotiator_t::peer_id

Definition at line 85 of file rte_dual_negotiator.h.

◆ peer_lost_timeout_ms

rte_duration_ms_t rte_dual_negotiator_t::peer_lost_timeout_ms

Definition at line 86 of file rte_dual_negotiator.h.

◆ state_change_callback

rte_dual_negotiator_state_change_callback_t rte_dual_negotiator_t::state_change_callback

Definition at line 87 of file rte_dual_negotiator.h.

◆ state_change_callback_ctx

void* rte_dual_negotiator_t::state_change_callback_ctx

Definition at line 88 of file rte_dual_negotiator.h.

◆ own_startup_timestamp_ms

uint64_t rte_dual_negotiator_t::own_startup_timestamp_ms

Definition at line 90 of file rte_dual_negotiator.h.

◆ own_channel_degraded

bool rte_dual_negotiator_t::own_channel_degraded

Definition at line 91 of file rte_dual_negotiator.h.

◆ have_peer_startup_timestamp

bool rte_dual_negotiator_t::have_peer_startup_timestamp

Definition at line 93 of file rte_dual_negotiator.h.

◆ peer_startup_timestamp_ms

uint64_t rte_dual_negotiator_t::peer_startup_timestamp_ms

Definition at line 94 of file rte_dual_negotiator.h.

◆ peer_channel_degraded

bool rte_dual_negotiator_t::peer_channel_degraded

Definition at line 95 of file rte_dual_negotiator.h.

◆ own_state

rte_dual_state_t rte_dual_negotiator_t::own_state

Definition at line 97 of file rte_dual_negotiator.h.

◆ peer_state

rte_dual_state_t rte_dual_negotiator_t::peer_state

Definition at line 98 of file rte_dual_negotiator.h.

◆ have_last_peer_seen

bool rte_dual_negotiator_t::have_last_peer_seen

Definition at line 100 of file rte_dual_negotiator.h.

◆ last_peer_seen_ms

rte_timestamp_ms_t rte_dual_negotiator_t::last_peer_seen_ms

Definition at line 101 of file rte_dual_negotiator.h.


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