|
libxr
1.0
Want to be the best embedded framework
|
存储主题(Topic)数据的结构体。Structure storing topic data. More...
#include <message.hpp>
Data Fields | |
| std::atomic< LockState > | busy |
| 是否忙碌。Indicates whether it is busy. | |
| LockFreeList | subers |
| 订阅者列表。List of subscribers. | |
| 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. | |
存储主题(Topic)数据的结构体。Structure storing topic data.
Definition at line 44 of file message.hpp.
| std::atomic<LockState> LibXR::Topic::Block::busy |
是否忙碌。Indicates whether it is busy.
Definition at line 46 of file message.hpp.
| bool LibXR::Topic::Block::cache |
是否启用数据缓存。Indicates whether data caching is enabled.
Definition at line 52 of file message.hpp.
| bool LibXR::Topic::Block::check_length |
是否检查数据长度。Indicates whether data length is checked.
Definition at line 53 of file message.hpp.
| uint32_t LibXR::Topic::Block::crc32 |
主题名称的 CRC32 校验码。CRC32 checksum of the topic name.
Definition at line 49 of file message.hpp.
| RawData LibXR::Topic::Block::data |
存储的数据。Stored data.
Definition at line 51 of file message.hpp.
| uint32_t LibXR::Topic::Block::max_length |
数据的最大长度。Maximum length of data.
Definition at line 48 of file message.hpp.
| Mutex* LibXR::Topic::Block::mutex |
线程同步互斥锁。Mutex for thread synchronization.
Definition at line 50 of file message.hpp.
| LockFreeList LibXR::Topic::Block::subers |
订阅者列表。List of subscribers.
Definition at line 47 of file message.hpp.