Packet iterator that does not consume the packets from the pipe.
More...
#include <pipe.h>
Packet iterator that does not consume the packets from the pipe.
- See also
- RxPipe::PeekPkts
-
RxTxPipe::PeekPkts
-
PktIterator
Definition at line 1393 of file pipe.h.
◆ PeekPktIterator()
◆ GetNextMessage()
_enso_always_inline uint8_t * enso::PeekPktIterator::GetNextMessage |
( |
uint8_t * |
current_message | ) |
|
|
inline |
Computes the next message address based on the current message.
- Parameters
-
current_message | The current message. |
- Returns
- The next message.
Definition at line 1405 of file pipe.h.
◆ OnAdvanceMessage()
constexpr void enso::PeekPktIterator::OnAdvanceMessage |
( |
uint32_t |
nb_bytes | ) |
|
|
inlineconstexpr |
Called when the iterator is done processing a message.
- Parameters
-
nb_bytes | The number of bytes processed. |
Definition at line 1412 of file pipe.h.
The documentation for this class was generated from the following file: