SafeAPI RBC 2oo2 Generic Application
IL/CTC route and train logic for the safeAPIRBC2oo2 reference RBC
Loading...
Searching...
No Matches
ab_site_ga_route_layout_t Struct Reference

One route's static layout entry (railML interlocking <route>) - GA's own full definition (not a reduced projection of anyone else's table - GA is the sole owner of route topology now). More...

#include <ab_siteGA.h>

Data Fields

uint16_t id
char name [16]
uint16_t start_signal
uint16_t end_signal
uint16_t prev_route_id
uint16_t next_route_id
uint32_t length_m
uint16_t segment_ids [SAFEAPI_EXAMPLE_MAX_SEGMENTS_PER_ROUTE]
uint8_t segment_count
uint16_t switch_ids [SAFEAPI_EXAMPLE_MAX_SWITCHES_PER_ROUTE]
ab_site_switch_position_t switch_positions [SAFEAPI_EXAMPLE_MAX_SWITCHES_PER_ROUTE]
uint8_t switch_count
uint32_t balise_nid_lrbgs [SAFEAPI_EXAMPLE_MAX_BALISES_PER_ROUTE]
uint8_t balise_count

Detailed Description

One route's static layout entry (railML interlocking <route>) - GA's own full definition (not a reduced projection of anyone else's table - GA is the sole owner of route topology now).

Definition at line 68 of file ab_siteGA.h.

Field Documentation

◆ balise_count

uint8_t ab_site_ga_route_layout_t::balise_count

Number of balises in this route.

Definition at line 87 of file ab_siteGA.h.

◆ balise_nid_lrbgs

uint32_t ab_site_ga_route_layout_t::balise_nid_lrbgs[SAFEAPI_EXAMPLE_MAX_BALISES_PER_ROUTE]

GP balises in this route.

Definition at line 86 of file ab_siteGA.h.

◆ end_signal

uint16_t ab_site_ga_route_layout_t::end_signal

Signal identity this route ends at (GP's ab_site_signal_t.id).

Definition at line 74 of file ab_siteGA.h.

◆ id

uint16_t ab_site_ga_route_layout_t::id

Unique route ID (1..N). Matches ab_gp_db_route_t.id and the route ID exchanged with IL over the wire.

Definition at line 70 of file ab_siteGA.h.

◆ length_m

uint32_t ab_site_ga_route_layout_t::length_m

Total route length in meters (sum of segments).

Definition at line 77 of file ab_siteGA.h.

◆ name

char ab_site_ga_route_layout_t::name[16]

railML route designator (e.g., "R_100_101").

Definition at line 72 of file ab_siteGA.h.

◆ next_route_id

uint16_t ab_site_ga_route_layout_t::next_route_id

Following route in chain (0 if end of line).

Definition at line 76 of file ab_siteGA.h.

◆ prev_route_id

uint16_t ab_site_ga_route_layout_t::prev_route_id

Preceding route in chain (0 if start of line).

Definition at line 75 of file ab_siteGA.h.

◆ segment_count

uint8_t ab_site_ga_route_layout_t::segment_count

Number of constituent segments.

Definition at line 80 of file ab_siteGA.h.

◆ segment_ids

uint16_t ab_site_ga_route_layout_t::segment_ids[SAFEAPI_EXAMPLE_MAX_SEGMENTS_PER_ROUTE]

Constituent GP track segments.

Definition at line 79 of file ab_siteGA.h.

◆ start_signal

uint16_t ab_site_ga_route_layout_t::start_signal

Signal identity this route starts at (GP's ab_site_signal_t.id).

Definition at line 73 of file ab_siteGA.h.

◆ switch_count

uint8_t ab_site_ga_route_layout_t::switch_count

Number of traversed switches.

Definition at line 84 of file ab_siteGA.h.

◆ switch_ids

uint16_t ab_site_ga_route_layout_t::switch_ids[SAFEAPI_EXAMPLE_MAX_SWITCHES_PER_ROUTE]

GP switch points traversed.

Definition at line 82 of file ab_siteGA.h.

◆ switch_positions

ab_site_switch_position_t ab_site_ga_route_layout_t::switch_positions[SAFEAPI_EXAMPLE_MAX_SWITCHES_PER_ROUTE]

Required switch positions.

Definition at line 83 of file ab_siteGA.h.


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