RTE RBC 2oo2 Generic Application 0.1.0 build 308eda7
IL/CTC route and train logic for the RBC_GP 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

rte_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 (rte_timestamp_ms_t threshold_ms, rte_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 ( rte_timestamp_ms_t threshold_ms,
rte_timestamp_ms_t now_ms,
char * out_which,
size_t which_size )

Definition at line 213 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 112 of file gateway_c_ctc_handler.c.

◆ gateway_c_ctc_handler_init()

rte_status_t gateway_c_ctc_handler_init ( gateway_c_context_t * ctx)

Definition at line 22 of file gateway_c_ctc_handler.c.

◆ gateway_c_ctc_handler_shutdown()

void gateway_c_ctc_handler_shutdown ( void )

Definition at line 206 of file gateway_c_ctc_handler.c.