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_emergency_stop_fsm.c
Go to the documentation of this file.
1
5
6
#include "
ab_gp_emergency_stop_fsm.h
"
7
8
#include "
../ab_gp_fsm_stub.h
"
9
10
bool
ab_gp_emergency_stop_fsm_handle_event
(
ab_gp_ertms_train_context_t
*ctx,
ab_gp_event_t
event)
11
{
12
return
ab_gp_fsm_stub_log
(
"EMERGENCY_STOP"
,
"ab_gp_proc_emergency_stop.c + session FSM"
, ctx, event);
13
}
ab_gp_emergency_stop_fsm_handle_event
bool ab_gp_emergency_stop_fsm_handle_event(ab_gp_ertms_train_context_t *ctx, ab_gp_event_t event)
STUB handler - logs "not implemented yet" and returns false (no state change). Signature matches ab_g...
Definition
ab_gp_emergency_stop_fsm.c:10
ab_gp_emergency_stop_fsm.h
STUB per-entity state machine for the EMERGENCY_STOP procedure.
ab_gp_event_t
ab_gp_event_t
Every event any GP procedure state machine reacts to. One per distinct real trigger in ertms_procedur...
Definition
ab_gp_event.h:53
ab_gp_fsm_stub_log
bool ab_gp_fsm_stub_log(const char *fsm_tag, const char *impl_note, const ab_gp_ertms_train_context_t *ctx, ab_gp_event_t event)
Logs (INFO) that a not-yet-implemented per-entity FSM received an event, and returns false (nothing c...
Definition
ab_gp_fsm_stub.c:11
ab_gp_fsm_stub.h
Shared "this per-entity FSM is a placeholder" handler.
ab_gp_ertms_train_context_t
Complete ERTMS state and procedure context for one train slot.
Definition
ab_gp_ertms_types.h:235
src
application
AB
GP
state_machines
emergency_stop
ab_gp_emergency_stop_fsm.c
Generated by
1.18.0