VLink  2.0.0
A high-performance communication middleware
vlink::ProxyAPI::Info结构体 参考final

Statistics and metadata describing one discovered topic endpoint. 更多...

#include <proxy_api.h>

vlink::ProxyAPI::Info 的协作图:

Public 属性

uint32_t type {0}
 Node-type bitmask for this endpoint. 更多...
 
std::string url
 Full topic URL, e.g. "dds://my/topic". 更多...
 
std::string ser
 Serialisation type, e.g. "demo.proto.PointCloud". 更多...
 
SchemaType schema {SchemaType::kUnknown}
 Coarse schema family of the payload. 更多...
 
Status status {kInvalid}
 Current activity status of the topic. 更多...
 
float freq {0}
 Observed message rate in messages/s. 更多...
 
uint64_t rate {0}
 Observed throughput in bytes/s. 更多...
 
float loss {0}
 Sample loss ratio in the range [0, 1]. 更多...
 
float latency {0}
 Latency in ms; -1 = no sample, -2 = invalid. 更多...
 
std::vector< Processprocess_list
 Connected publisher/subscriber processes. 更多...
 

详细描述

Statistics and metadata describing one discovered topic endpoint.

Delivered in batches through InfoCallback once per second. freq, rate, loss, and latency are weighted moving averages over the last two one-second collection intervals.

类成员变量说明

◆ freq

float vlink::ProxyAPI::Info::freq {0}

Observed message rate in messages/s.

◆ latency

float vlink::ProxyAPI::Info::latency {0}

Latency in ms; -1 = no sample, -2 = invalid.

◆ loss

float vlink::ProxyAPI::Info::loss {0}

Sample loss ratio in the range [0, 1].

◆ process_list

std::vector<Process> vlink::ProxyAPI::Info::process_list

Connected publisher/subscriber processes.

◆ rate

uint64_t vlink::ProxyAPI::Info::rate {0}

Observed throughput in bytes/s.

◆ schema

SchemaType vlink::ProxyAPI::Info::schema {SchemaType::kUnknown}

Coarse schema family of the payload.

◆ ser

std::string vlink::ProxyAPI::Info::ser

Serialisation type, e.g. "demo.proto.PointCloud".

◆ status

Status vlink::ProxyAPI::Info::status {kInvalid}

Current activity status of the topic.

◆ type

uint32_t vlink::ProxyAPI::Info::type {0}

Node-type bitmask for this endpoint.

◆ url

std::string vlink::ProxyAPI::Info::url

Full topic URL, e.g. "dds://my/topic".


该结构体的文档由以下文件生成: