|
zpp
Zephyr C++20 Framework
|
fifo that manages a k_fifo object More...
#include <fifo.hpp>
Public Member Functions | |
| fifo () noexcept | |
| create new fifo More... | |
| constexpr auto | native_handle () noexcept -> native_pointer |
| get the Zephyr native fifo handle More... | |
| constexpr auto | native_handle () const noexcept -> native_const_pointer |
| get the Zephyr native fifo handle More... | |
| fifo (const fifo &)=delete | |
| fifo (fifo &&)=delete | |
| fifo & | operator= (const fifo &)=delete |
| fifo & | operator= (fifo &&)=delete |
Public Member Functions inherited from zpp::fifo_base< fifo, T_ItemType > | |
| fifo_base (const fifo_base &)=delete | |
| fifo_base (fifo_base &&)=delete | |
| constexpr auto | native_handle () noexcept -> native_pointer |
| get the Zephyr native fifo handle More... | |
| constexpr auto | native_handle () const noexcept -> native_const_pointer |
| get the Zephyr native fifo handle More... | |
| void | cancel_wait () noexcept |
| force a waiting thread to return with a timeout error More... | |
| void | push_back (item_pointer item) noexcept |
| push an item on the back of the fifo More... | |
| item_pointer | pop_front () noexcept |
| pop item from fifo waiting for ever More... | |
| item_pointer | try_pop_front () noexcept |
| try to pop item from the fifo without waiting More... | |
| item_pointer | try_pop_front_for (const std::chrono::duration< T_Rep, T_Period > &timeout) noexcept |
| try to pop item from the fifo waiting a certain amount of time More... | |
| item_pointer | front () noexcept |
| get item at the front without removing it from the fifo More... | |
| item_pointer | back () noexcept |
| get item at the back without removing it from the fifo More... | |
| bool | empty () noexcept |
| check if the fifo is empty More... | |
| fifo_base & | operator= (const fifo_base &)=delete |
| fifo_base & | operator= (fifo_base &&)=delete |
Additional Inherited Members | |
Public Types inherited from zpp::fifo_base< fifo, T_ItemType > | |
| using | native_type = struct k_fifo |
| using | native_pointer = native_type * |
| using | native_const_pointer = native_type const * |
| using | item_type = T_ItemType |
| using | item_pointer = item_type * |
| using | item_const_pointer = item_type const * |
Protected Member Functions inherited from zpp::fifo_base< fifo, T_ItemType > | |
| fifo_base () noexcept | |
| default constructor, can only be called from derived types More... | |
fifo that manages a k_fifo object
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
delete |
|
delete |