Packet iterator. More...
#include <pipe.h>
Public Member Functions | |
PktIterator (uint8_t *addr, int32_t message_limit, RxPipe::MessageBatch< PktIterator > *batch) | |
PktIterator (const PktIterator &)=default | |
PktIterator & | operator= (const PktIterator &)=default |
PktIterator (PktIterator &&)=default | |
PktIterator & | operator= (PktIterator &&)=default |
_enso_always_inline uint8_t * | GetNextMessage (uint8_t *current_message) |
Computes the next message address based on the current message. | |
constexpr void | OnAdvanceMessage (uint32_t nb_bytes) |
Called when the iterator is done processing a message. | |
Public Member Functions inherited from enso::MessageIteratorBase< PktIterator > | |
constexpr uint8_t * | operator* () |
constexpr bool | operator!= (const MessageIteratorBase &other) const |
constexpr PktIterator & | operator++ () |
Additional Inherited Members | |
Protected Member Functions inherited from enso::MessageIteratorBase< PktIterator > | |
MessageIteratorBase (const MessageIteratorBase &)=default | |
MessageIteratorBase (MessageIteratorBase &&)=default | |
MessageIteratorBase (uint8_t *addr, int32_t message_limit, RxPipe::MessageBatch< PktIterator > *batch) | |
MessageIteratorBase & | operator= (const MessageIteratorBase &)=default |
MessageIteratorBase & | operator= (MessageIteratorBase &&)=default |
Protected Attributes inherited from enso::MessageIteratorBase< PktIterator > | |
uint8_t * | addr_ |
int32_t | missing_messages_ |
RxPipe::MessageBatch< PktIterator > * | batch_ |
uint8_t * | next_addr_ |
Packet iterator.
|
inline |
|
inline |
|
inlineconstexpr |