RTE RBC 2oo2 Reference Application 0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Loading...
Searching...
No Matches
ab_gp_proc_dispatch.h
Go to the documentation of this file.
1
18
19#ifndef AB_GP_PROC_DISPATCH_H
20#define AB_GP_PROC_DISPATCH_H
21
22#include <stdbool.h>
23#include <stddef.h>
24#include <stdint.h>
25
26#include "../db/ab_gp_db.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
71 ab_gp_train_session_t sessions[],
72 ab_gp_db_t *db, uint8_t train_id,
73 const uint8_t *payload, size_t payload_len,
74 uint32_t cycle, uint32_t timestamp_ms);
75
76#ifdef __cplusplus
77}
78#endif
79
80#endif /* AB_GP_PROC_DISPATCH_H */
struct ab_gp_channel_context_s * ab_gp_channel_handle_t
Opaque handle over this component's own static per-process context.
A/B's own simplified Train/Route database - fixed-size arrays describing the domain objects logic/ (p...
bool ab_gp_proc_dispatch_train_inbound(ab_gp_channel_handle_t channel, ab_gp_train_session_t sessions[], ab_gp_db_t *db, uint8_t train_id, const uint8_t *payload, size_t payload_len, uint32_t cycle, uint32_t timestamp_ms)
Decodes one RBC_MSG_ERTMS_ENVELOPE payload and dispatches it into the ertms_procedures/ engine,...
A/B's own train lifecycle handling against db/'s runtime table.