VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::Qos::History结构体 参考final

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

#include <qos.h>

vlink::Qos::History 的协作图:

Public 类型

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

Public 属性

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

详细描述

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)

成员枚举类型说明

◆ Kind

enum vlink::Qos::History::Kind : uint8_t
枚举值
kKeepLast 

Keep only the depth most recent samples.

kKeepAll 

Keep all unread samples.

类成员变量说明

◆ 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.


该结构体的文档由以下文件生成:
  • include/vlink/extension/qos.h