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

VLink-specific extensions beyond standard DDS QoS. 更多...

#include <qos.h>

vlink::Qos::Additions 的协作图:

Public 类型

enum  Priority : uint8_t {
  kPriorityRealTime = 1 , kPriorityHigh = 2 , kPriorityNormal = 4 , kPriorityLow = 6 ,
  kPriorityBackground = 7
}
 Dispatch priority values for priority-aware loops. 更多...

Public 属性

Priority priority {kPriorityNormal}
 Task dispatch priority.
bool is_express {false}
 If true, bypass normal queuing for immediate delivery.

详细描述

VLink-specific extensions beyond standard DDS QoS.

priority controls the task dispatch priority for priority-type message loops. is_express hints that messages should bypass the normal queue and be sent immediately.

成员枚举类型说明

◆ Priority

Dispatch priority values for priority-aware loops.

Priority Value Use case
kPriorityRealTime 1 Hard real-time control
kPriorityHigh 2 High-priority events
kPriorityNormal 4 Standard application messages
kPriorityLow 6 Background telemetry
kPriorityBackground 7 Best-effort background tasks
枚举值
kPriorityRealTime 

Highest priority; hard real-time.

kPriorityHigh 

High-priority processing.

kPriorityNormal 

Default application priority.

kPriorityLow 

Low-priority background work.

kPriorityBackground 

Lowest priority; background tasks.

类成员变量说明

◆ is_express

bool vlink::Qos::Additions::is_express {false}

If true, bypass normal queuing for immediate delivery.

◆ priority

Priority vlink::Qos::Additions::priority {kPriorityNormal}

Task dispatch priority.


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