single pusher single pop'er thread safe fifo
More...
#include <fifo.hpp>
|
| bool | push (const ValueType &f_value) noexcept |
| | pushes a value into the fifo More...
|
| |
| cxx::optional< ValueType > | pop () noexcept |
| | returns the oldest value from the fifo and removes it More...
|
| |
|
bool | empty () const noexcept |
| | returns true when the fifo is empty, otherwise false
|
| |
|
uint64_t | size () const noexcept |
| | returns the size of the fifo
|
| |
|
|
static constexpr uint64_t | capacity () noexcept |
| | returns the capacity of the fifo
|
| |
template<typename ValueType, uint64_t Capacity>
class iox::concurrent::FiFo< ValueType, Capacity >
single pusher single pop'er thread safe fifo
◆ pop()
template<class ValueType , uint64_t Capacity>
returns the oldest value from the fifo and removes it
- Returns
- if the fifo was not empty the optional contains the value, otherwise it contains a nullopt
◆ push()
template<class ValueType , uint64_t Capacity>
pushes a value into the fifo
- Returns
- if the values was pushed successfully into the fifo it returns true, otherwise false
The documentation for this class was generated from the following files:
- iceoryx_utils/internal/concurrent/fifo.hpp
- iceoryx_utils/internal/concurrent/fifo.inl