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

存储主题(Topic)数据的结构体。Structure storing topic data. More...

Collaboration diagram for LibXR::Topic::Block:

Data Fields

uint32_t max_length
 数据的最大长度。Maximum length of data.
 
uint32_t crc32
 主题名称的 CRC32 校验码。CRC32 checksum of the topic name.
 
Mutex mutex
 线程同步互斥锁。Mutex for thread synchronization.
 
RawData data
 存储的数据。Stored data.
 
bool cache
 是否启用数据缓存。Indicates whether data caching is enabled.
 
bool check_length
 是否检查数据长度。Indicates whether data length is checked.
 
List subers
 订阅者列表。List of subscribers.
 

Detailed Description

存储主题(Topic)数据的结构体。Structure storing topic data.

Definition at line 35 of file message.hpp.

Field Documentation

◆ cache

bool LibXR::Topic::Block::cache

是否启用数据缓存。Indicates whether data caching is enabled.

Definition at line 41 of file message.hpp.

◆ check_length

bool LibXR::Topic::Block::check_length

是否检查数据长度。Indicates whether data length is checked.

Definition at line 42 of file message.hpp.

◆ crc32

uint32_t LibXR::Topic::Block::crc32

主题名称的 CRC32 校验码。CRC32 checksum of the topic name.

Definition at line 38 of file message.hpp.

◆ data

RawData LibXR::Topic::Block::data

存储的数据。Stored data.

Definition at line 40 of file message.hpp.

◆ max_length

uint32_t LibXR::Topic::Block::max_length

数据的最大长度。Maximum length of data.

Definition at line 37 of file message.hpp.

◆ mutex

Mutex LibXR::Topic::Block::mutex

线程同步互斥锁。Mutex for thread synchronization.

Definition at line 39 of file message.hpp.

◆ subers

List LibXR::Topic::Block::subers

订阅者列表。List of subscribers.

Definition at line 43 of file message.hpp.


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