Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
process_c.c File Reference

EAST Site - Process C (Non-Vital Service Channel). More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <time.h>
Include dependency graph for process_c.c:

Go to the source code of this file.

Data Structures

struct  train_command_t
struct  shared_state_t
struct  service_stats_t

Functions

 __attribute__ ((aligned(64)))
int main (int argc, char *argv[])

Variables

 voted_result_t
static service_stats_t stats = {0}

Detailed Description

EAST Site - Process C (Non-Vital Service Channel).

Service/output channel for EAST site (Standby RBC). Mirrors WEST Process C, ready to display results if promoted. Sends heartbeat to Coordinator for failover detection.

Definition in file process_c.c.

Function Documentation

◆ __attribute__()

__attribute__ ( (aligned(64)) )

Definition at line 40 of file process_c.c.

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 64 of file process_c.c.

Variable Documentation

◆ voted_result_t

voted_result_t

Definition at line 48 of file process_c.c.

◆ stats

service_stats_t stats = {0}
static

Definition at line 62 of file process_c.c.