SafeAPI RBC 2oo2 Generic Application
IL/CTC route and train logic for the safeAPIRBC2oo2 reference RBC
Loading...
Searching...
No Matches
gateway_c_ctc_handler.h File Reference

CTCHandler - Role C Gateway's TCP/IP server for the single CTC sim instance and its dedicated relay to/from A/B. More...

#include "gateway_c_types.h"
Include dependency graph for gateway_c_ctc_handler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gateway_c_ctc_handler_state_t

Functions

sapi_status_t gateway_c_ctc_handler_init (gateway_c_context_t *ctx)
void gateway_c_ctc_handler_execute (gateway_c_context_t *ctx, uint32_t cycle)
void gateway_c_ctc_handler_shutdown (void)
bool gateway_c_ctc_handler_check_link_down (sapi_timestamp_ms_t threshold_ms, sapi_timestamp_ms_t now_ms, char *out_which, size_t which_size)

Detailed Description

CTCHandler - Role C Gateway's TCP/IP server for the single CTC sim instance and its dedicated relay to/from A/B.

Definition in file gateway_c_ctc_handler.h.

Function Documentation

◆ gateway_c_ctc_handler_check_link_down()

bool gateway_c_ctc_handler_check_link_down ( sapi_timestamp_ms_t threshold_ms,
sapi_timestamp_ms_t now_ms,
char * out_which,
size_t which_size )

Definition at line 195 of file gateway_c_ctc_handler.c.

◆ gateway_c_ctc_handler_execute()

void gateway_c_ctc_handler_execute ( gateway_c_context_t * ctx,
uint32_t cycle )

Definition at line 87 of file gateway_c_ctc_handler.c.

◆ gateway_c_ctc_handler_init()

sapi_status_t gateway_c_ctc_handler_init ( gateway_c_context_t * ctx)

Definition at line 21 of file gateway_c_ctc_handler.c.

◆ gateway_c_ctc_handler_shutdown()

void gateway_c_ctc_handler_shutdown ( void )

Definition at line 188 of file gateway_c_ctc_handler.c.