VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
vlink::Qos::History Struct Referencefinal

Controls how many samples are kept for late-joining subscribers. More...

#include <qos.h>

Collaboration diagram for vlink::Qos::History:

Public Types

enum  Kind : uint8_t { kKeepLast = 0 , kKeepAll = 1 }

Public Attributes

Kind kind {kKeepLast}
 History retention kind.
int32_t depth {1}
 Number of samples to keep per instance (KeepLast only).

Detailed Description

Controls how many samples are kept for late-joining subscribers.

Kind Behaviour
kKeepLast Keep the depth most recent samples per instance
kKeepAll Keep all samples (subject to ResourceLimits)

Member Enumeration Documentation

◆ Kind

enum vlink::Qos::History::Kind : uint8_t
Enumerator
kKeepLast 

Keep only the depth most recent samples.

kKeepAll 

Keep all unread samples.

Member Data Documentation

◆ depth

int32_t vlink::Qos::History::depth {1}

Number of samples to keep per instance (KeepLast only).

◆ kind

Kind vlink::Qos::History::kind {kKeepLast}

History retention kind.


The documentation for this struct was generated from the following file:
  • include/vlink/extension/qos.h