Wrapper around a FreeRTOS queue.
More...
#include <queue.hpp>
template<typename T,
etl::uint32_t Size>
struct etl::experimental::freertos::queue< T, Size >
Wrapper around a FreeRTOS queue.
https://www.freertos.org/Embedded-RTOS-Queues.html
- Template Parameters
-
T | The type that's being stored inside the queue. |
Size | The maximum capacity of the queue. |
◆ size_type
◆ value_type
◆ queue() [1/3]
◆ ~queue()
◆ queue() [2/3]
◆ queue() [3/3]
◆ capacity()
Returns the capacity of the internal buffer.
◆ messages_waiting()
◆ operator=() [1/2]
auto operator= |
( |
queue< T, Size > && | | ) |
-> queue &=delete |
|
delete |
◆ operator=() [2/2]
auto operator= |
( |
queue< T, Size > const & | | ) |
-> queue &=delete |
|
delete |
◆ receive() [1/2]
auto receive |
( |
T & | data, |
|
|
TickType_t | ticksToWait = 0 ) const -> bool |
|
inline |
Pop an element of the queue.
◆ receive() [2/2]
Pop an element of the queue.
◆ reset()
auto reset |
( |
| ) |
const -> bool |
|
inlinenodiscard |
◆ send()
auto send |
( |
T const & | data, |
|
|
TickType_t | ticksToWait = 0 ) const -> bool |
|
inlinenodiscard |
Push an element on to the queue.
The documentation for this struct was generated from the following file: