Skip to main content

Module sample

Module sample 

Source
Expand description

Time, the envelope, and the values a read returns (ridl §3.1, §4.5, §9), with the two computations a consuming runtime makes on an envelope: a value’s freshness (Freshness::of) and event loss (EventSeqTracker).

Structs§

Duration
A length of time, in microseconds.
Envelope
The sender’s timestamp and sequence number (ridl §3.1). The runtime stamps it from its clock, and no relay changes it.
EventSeqTracker
The last seq accepted on each event channel of one session, and the loss each new occurrence reveals (ridl §3.1; frame specification §5.2 and §7).
Occurrence
An event occurrence as a consumer receives it.
Sample
A signal value with its provenance, its freshness and its envelope.
Timestamp
A point in time, in microseconds since the PTP epoch, on the TAI time scale (ridl §3.1).
TrackerFull
The error EventSeqTracker::observe returns when the occurrence is on a channel the tracker does not hold and every one of its N slots is taken.

Enums§

Cause
Why a channel is invalid.
Continuity
What EventSeqTracker::observe found when it compared an occurrence’s seq with the last one its channel accepted (ridl §3.1; frame specification §7).
Detection
What a consumer’s binding detected in a payload.
Freshness
How old a value is, measured against its staleness bound (ridl §9).
Provenance
Where a signal’s value comes from (ridl §4.5).