idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::queue< T >::isr_receive_result Struct Reference

Result of an ISR receive operation. More...

Public Attributes

std::optional< T > item
 The received item, or std::nullopt if the queue was empty.
 
bool yield
 true if a context switch should be requested.
 

Detailed Description

template<typename T>
struct idfxx::queue< T >::isr_receive_result

Result of an ISR receive operation.

Definition at line 587 of file queue.hpp.

Member Data Documentation

◆ item

template<typename T >
std::optional<T> idfxx::queue< T >::isr_receive_result::item

The received item, or std::nullopt if the queue was empty.

Definition at line 588 of file queue.hpp.

◆ yield

template<typename T >
bool idfxx::queue< T >::isr_receive_result::yield

true if a context switch should be requested.

Definition at line 589 of file queue.hpp.


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