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

Raw message payload delivered via DataCallback or sent via send_data(). 更多...

#include <proxy_api.h>

vlink::ProxyAPI::Data 的协作图:

Public 属性

std::string url
 Topic URL the data was captured on.
std::string ser
 Serialisation type of the payload.
SchemaType schema {SchemaType::kUnknown}
 Coarse schema family of the payload.
Bytes raw
 Raw serialised message bytes.
int64_t timestamp {-1}
 Elapsed time in microseconds since session start; -1 if unset.
int64_t seq {0}
 Publisher sequence number.

详细描述

Raw message payload delivered via DataCallback or sent via send_data().

In record/observe mode the server relays raw serialised bytes together with routing metadata. timestamp is the elapsed time in microseconds since the current proxy data session / control generation started; seq is the proxy relay sequence number for the URL.

类成员变量说明

◆ raw

Bytes vlink::ProxyAPI::Data::raw

Raw serialised message bytes.

◆ schema

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

Coarse schema family of the payload.

◆ seq

int64_t vlink::ProxyAPI::Data::seq {0}

Publisher sequence number.

◆ ser

std::string vlink::ProxyAPI::Data::ser

Serialisation type of the payload.

◆ timestamp

int64_t vlink::ProxyAPI::Data::timestamp {-1}

Elapsed time in microseconds since session start; -1 if unset.

◆ url

std::string vlink::ProxyAPI::Data::url

Topic URL the data was captured on.


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