|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Backend vtable: an integrator's implementation of clock synchronization for a specific mechanism (PTP/GPS/NTP/custom). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED). More...
#include <sapi_clocksync_backend.h>
Data Fields | |
| sapi_status_t(*) | get_offset_ms (int64_t *out_offset_ms) |
| sapi_status_t(*) | get_quality (sapi_clocksync_quality_t *out_quality) |
Backend vtable: an integrator's implementation of clock synchronization for a specific mechanism (PTP/GPS/NTP/custom). Any slot may be NULL if unsupported by the backend (-> SAPI_STATUS_NOT_SUPPORTED).
Definition at line 35 of file sapi_clocksync_backend.h.
| sapi_status_t(*) sapi_clocksync_backend_t::get_offset_ms(int64_t *out_offset_ms) |
Reports this node's estimated clock offset, in milliseconds, relative to the backend's reference (positive: local clock is ahead).
Definition at line 40 of file sapi_clocksync_backend.h.
| sapi_status_t(*) sapi_clocksync_backend_t::get_quality(sapi_clocksync_quality_t *out_quality) |
Reports the backend's current confidence in that offset.
Definition at line 42 of file sapi_clocksync_backend.h.