libxr  1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
LibXR::Topic::Message< Data > Struct Template Reference

带时间戳和 payload 副本的消息对象 / Message object carrying a timestamp and a payload copy More...

#include <topic.hpp>

Collaboration diagram for LibXR::Topic::Message< Data >:
[legend]

Data Fields

MicrosecondTimestamp timestamp
 消息时间戳。Message timestamp.
 
Data data
 payload 对象副本。Copied payload object.
 

Detailed Description

template<typename Data>
struct LibXR::Topic::Message< Data >

带时间戳和 payload 副本的消息对象 / Message object carrying a timestamp and a payload copy

Template Parameters
Datapayload 类型 / Payload type

Definition at line 167 of file topic.hpp.

Field Documentation

◆ data

template<typename Data >
Data LibXR::Topic::Message< Data >::data

payload 对象副本。Copied payload object.

Definition at line 171 of file topic.hpp.

◆ timestamp

template<typename Data >
MicrosecondTimestamp LibXR::Topic::Message< Data >::timestamp

消息时间戳。Message timestamp.

Definition at line 170 of file topic.hpp.


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