libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::Topic::RawMessageView Struct Reference

带时间戳和只读原始 payload 视图的消息 / Message carrying a timestamp and a read-only raw payload view More...

#include <topic.hpp>

Collaboration diagram for LibXR::Topic::RawMessageView:
[legend]

Data Fields

MicrosecondTimestamp timestamp
 消息时间戳。Message timestamp.
 
ConstRawData payload
 

Detailed Description

带时间戳和只读原始 payload 视图的消息 / Message carrying a timestamp and a read-only raw payload view

Note
该视图只在当前回调调用期间有效;它不拥有 payload 字节,也不绕过 topic 的 发布时类型契约。 This view is valid only for the current callback invocation; it does not own the payload bytes and does not bypass the topic's publish-time type contract.

Definition at line 153 of file topic.hpp.

Field Documentation

◆ payload

ConstRawData LibXR::Topic::RawMessageView::payload

本次发布 payload 的只读字节视图。Read-only byte view of this publish payload.

Definition at line 156 of file topic.hpp.

◆ timestamp

MicrosecondTimestamp LibXR::Topic::RawMessageView::timestamp

消息时间戳。Message timestamp.

Definition at line 155 of file topic.hpp.


The documentation for this struct was generated from the following file: