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_fsm_stub.c File Reference

See ab_gp_fsm_stub.h. More...

#include "ab_gp_fsm_stub.h"
#include "rte/oal/log/rte_log.h"
#include "rte/utils/string/rte_string.h"
Include dependency graph for ab_gp_fsm_stub.c:

Go to the source code of this file.

Functions

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 changed).

Detailed Description

See ab_gp_fsm_stub.h.

Definition in file ab_gp_fsm_stub.c.

Function Documentation

◆ 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 changed).

Parameters
[in]fsm_tagShort FSM name for the log line, e.g. "MA".
[in]impl_noteWhere the real behaviour currently lives, e.g. "logic in ab_gp_proc_ma.c + session FSM".
[in]ctxTrain context (for train_id in the log line). NULL tolerated - just omits the id.
[in]eventEvent that was dispatched.
Returns
Always false - a stub never reports a state change.

Definition at line 11 of file ab_gp_fsm_stub.c.