Base class to represent a message within a batch. More...
#include <pipe.h>
Public Member Functions | |
constexpr uint8_t * | operator* () |
constexpr bool | operator!= (const MessageIteratorBase &other) const |
constexpr T & | operator++ () |
Protected Member Functions | |
MessageIteratorBase (const MessageIteratorBase &)=default | |
MessageIteratorBase & | operator= (const MessageIteratorBase &)=default |
MessageIteratorBase (MessageIteratorBase &&)=default | |
MessageIteratorBase & | operator= (MessageIteratorBase &&)=default |
MessageIteratorBase (uint8_t *addr, int32_t message_limit, RxPipe::MessageBatch< T > *batch) | |
Protected Attributes | |
uint8_t * | addr_ |
int32_t | missing_messages_ |
RxPipe::MessageBatch< T > * | batch_ |
uint8_t * | next_addr_ |
Base class to represent a message within a batch.
It is designed to be used as an iterator. It tracks the number of missing messages such that operator!=
returns false whenever the limit is reached.
|
inlineprotected |
|
inlineprotected |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
protected |
|
protected |
|
protected |
|
protected |