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_event.h
Go to the documentation of this file.
1
35
36#ifndef AB_GP_EVENT_H
37#define AB_GP_EVENT_H
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
52typedef enum ab_gp_event_e
53{
54 /* --- Session lifecycle (ab_gp_session_fsm.c) --------------------- */
70
71 /* --- Validated Train Data (ab_gp_train_data_fsm.c) --------------- */
74 /* AB_GP_SESSION_EVENT_TRAIN_DATA_VALIDATED (above) is the "accepted"
75 * event - the train-data FSM subscribes to that same event the
76 * session FSM already reacts to, rather than a second near-duplicate. */
77
78 /* --- The following events fan out to STUB per-entity FSMs
79 * (ab_gp_fsm_stub.h) - dispatch wiring is complete, behaviour
80 * is not built as an FSM yet. Some also reach the session FSM
81 * (MA_GRANTED etc. in the session block above). ------------- */
82
83 /* Movement Authority (ab_gp_ma_fsm.c - STUB; + session FSM for
84 * AB_GP_SESSION_EVENT_MA_GRANTED / _MA_REVOKED above). */
87
88 /* Supervised position (ab_gp_position_fsm.c - STUB). */
90
91 /* End of Mission (ab_gp_eom_fsm.c - STUB). */
93
94 /* RBC-to-RBC handover (ab_gp_handover_fsm.c - STUB) - no wire flow
95 * raises these yet. */
98
99 /* Temporary Speed Restriction (ab_gp_tsr_fsm.c - STUB) - no wire
100 * flow raises these yet. */
103
104 /* Driver text message (ab_gp_text_message_fsm.c - STUB) - no wire
105 * flow raises these yet. */
108
111
112#ifdef __cplusplus
113}
114#endif
115
116#endif /* AB_GP_EVENT_H */
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_SESSION_EVENT_EMERGENCY_STOP_ISSUED
Definition ab_gp_event.h:62
@ AB_GP_EVENT_TEXT_MESSAGE_ACKNOWLEDGED
@ AB_GP_SESSION_EVENT_SESSION_TERMINATED
Definition ab_gp_event.h:66
@ AB_GP_SESSION_EVENT_SESSION_INITIATION_REQUESTED
Definition ab_gp_event.h:55
@ AB_GP_EVENT_MA_REQUESTED
Definition ab_gp_event.h:85
@ AB_GP_SESSION_EVENT_EMERGENCY_STOP_REVOKED_TO_ESTABLISHED
Definition ab_gp_event.h:65
@ AB_GP_SESSION_EVENT_EMERGENCY_STOP_REVOKED_TO_STANDBY
Definition ab_gp_event.h:64
@ AB_GP_SESSION_EVENT_SHUNTING_AUTHORIZED
Definition ab_gp_event.h:60
@ AB_GP_EVENT_TRAIN_DATA_REJECTED
Definition ab_gp_event.h:73
@ AB_GP_EVENT_COUNT
@ AB_GP_SESSION_EVENT_MA_REVOKED
Definition ab_gp_event.h:59
@ AB_GP_SESSION_EVENT_SESSION_ESTABLISHED_CONFIRMED
Definition ab_gp_event.h:56
@ AB_GP_EVENT_TEXT_MESSAGE_SENT
@ AB_GP_EVENT_HANDOVER_CONFIRMED
Definition ab_gp_event.h:97
@ AB_GP_SESSION_EVENT_MA_GRANTED
Definition ab_gp_event.h:58
@ AB_GP_EVENT_MA_ACKNOWLEDGED
Definition ab_gp_event.h:86
@ AB_GP_EVENT_HANDOVER_ANNOUNCED
Definition ab_gp_event.h:96
@ AB_GP_SESSION_EVENT_EMERGENCY_STOP_REVOKED_TO_FS
Definition ab_gp_event.h:63
@ AB_GP_SESSION_EVENT_COUNT
Definition ab_gp_event.h:68
@ AB_GP_EVENT_TSR_IMPOSED
@ AB_GP_EVENT_POSITION_REPORTED
Definition ab_gp_event.h:89
@ AB_GP_SESSION_EVENT_TRAIN_DATA_VALIDATED
Definition ab_gp_event.h:57
@ AB_GP_EVENT_TRAIN_DATA_RECEIVED
Definition ab_gp_event.h:72
@ AB_GP_EVENT_END_OF_MISSION
Definition ab_gp_event.h:92
@ AB_GP_EVENT_TSR_REVOKED
@ AB_GP_SESSION_EVENT_SHUNTING_DEAUTHORIZED
Definition ab_gp_event.h:61