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

队列订阅者自己挂的数据块 / Data block owned by one queued subscriber More...

#include <queue.hpp>

Inheritance diagram for LibXR::Topic::QueueBlock:
[legend]
Collaboration diagram for LibXR::Topic::QueueBlock:
[legend]

Data Fields

void * queue
 指向订阅队列实例的擦除指针。Erased pointer to the subscribed queue instance.
 
void(* fun )(MicrosecondTimestamp, void *, QueueBlock &)
 把一条发布转发进具体队列类型的适配函数。Adapter that forwards one publish into the concrete queue type.
 
- Data Fields inherited from LibXR::Topic::SuberBlock
SuberType type
 订阅块的具体种类。Concrete kind of this subscriber block.
 

Detailed Description

队列订阅者自己挂的数据块 / Data block owned by one queued subscriber

队列订阅者挂在 topic 链表里的数据块 / Subscriber block used by one queued subscriber inside the topic list

Definition at line 11 of file queue.hpp.

Field Documentation

◆ fun

void(* LibXR::Topic::QueueBlock::fun) (MicrosecondTimestamp, void *, QueueBlock &)

把一条发布转发进具体队列类型的适配函数。Adapter that forwards one publish into the concrete queue type.

Definition at line 14 of file queue.hpp.

◆ queue

void* LibXR::Topic::QueueBlock::queue

指向订阅队列实例的擦除指针。Erased pointer to the subscribed queue instance.

Definition at line 13 of file queue.hpp.


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