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

Registry and Dispatch for Protocol Adapters. More...

Include dependency graph for rte_protocol_adapter.c:

Go to the source code of this file.

Functions

rte_status_t rte_protocol_adapter_register (rte_protocol_type_t type, const rte_protocol_adapter_ops_t *ops)
 Registers a ProtocolAdapter implementation for a given protocol type.
const rte_protocol_adapter_ops_t * rte_protocol_adapter_get (rte_protocol_type_t type)
 Retrieves the registered ProtocolAdapter for a given protocol type.

Variables

static const rte_protocol_adapter_ops_t * s_udp_adapter = NULL
static const rte_protocol_adapter_ops_t * s_tcp_adapter = NULL
static const rte_protocol_adapter_ops_t * s_dds_adapter = NULL

Detailed Description

Registry and Dispatch for Protocol Adapters.

Compliant with CENELEC EN 50128 SIL 4 and MISRA C:2012.

Definition in file rte_protocol_adapter.c.

Variable Documentation

◆ s_udp_adapter

const rte_protocol_adapter_ops_t* s_udp_adapter = NULL
static

Definition at line 10 of file rte_protocol_adapter.c.

◆ s_tcp_adapter

const rte_protocol_adapter_ops_t* s_tcp_adapter = NULL
static

Definition at line 11 of file rte_protocol_adapter.c.

◆ s_dds_adapter

const rte_protocol_adapter_ops_t* s_dds_adapter = NULL
static

Definition at line 12 of file rte_protocol_adapter.c.