RTE RBC 2oo2 Reference Application
0.1.0 build 0006685
SIL 4 2oo2 Dual-Site Fault-Tolerant ERTMS Radio Block Centre Reference Architecture
Toggle main menu visibility
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
"
27
#include "
../com/ab_gp_channel.h
"
28
#include "
../train/ab_gp_train.h
"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
70
bool
ab_gp_proc_dispatch_train_inbound
(
ab_gp_channel_handle_t
channel,
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 */
ab_gp_channel.h
ab_gp_channel_handle_t
struct ab_gp_channel_context_s * ab_gp_channel_handle_t
Opaque handle over this component's own static per-process context.
Definition
ab_gp_channel.h:18
ab_gp_db.h
A/B's own simplified Train/Route database - fixed-size arrays describing the domain objects logic/ (p...
ab_gp_proc_dispatch_train_inbound
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,...
Definition
ab_gp_proc_dispatch.c:390
ab_gp_train.h
A/B's own train lifecycle handling against db/'s runtime table.
ab_gp_db_t
Definition
ab_gp_db.h:133
ab_gp_train_session_t
Definition
ab_gp_train.h:80
src
application
AB
GP
ertms_procedures
ab_gp_proc_dispatch.h
Generated by
1.18.0