Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ DiscardPolicy

enum struct DataStorm::DiscardPolicy
strong

The discard policy specifies how samples are discarded by readers upon receive.

Enumerator
None 

Samples are never discarded.

SendTime 

Samples are discared based on the sample timestamp.

If the received sample timestamp is older than the last received sample, the sample is discarded. This ensures that readers will eventually always end up with the same view of the data if multiple writers are sending samples.

Priority 

Samples are discarded based on the writer priority.

Only samples from the highest priority connected writers are kept, others are discarded.

Definition at line 20 of file Types.h.