|
tin
1.5.9
|
#include <static_ring.h>

Public Types | |
| using | value_type = Event |
Public Member Functions | |
| bool | try_push (Event const &event) |
| bool | try_push (Event &&event) |
| bool | try_pop (Event &event) |
| template<typename Value > | |
| bool | try_overwrite_latest (Value &&event) |
| bool | empty () const |
| bool | full () const |
| std::size_t | size () const |
| void | clear () |
Static Public Attributes | |
| static constexpr std::size_t | capacity = Capacity |
Fixed-capacity FIFO queue for runtime event storage.
Runtime topologies need bounded storage that works on bare-metal and RTOS targets. This queue stores values in an inline array, rejects pushes when full, and exposes the small API required by queue_storage.
The implementation is a circular buffer with push and pop indices. Capacity is the actual number of usable slots; no sentinel slot is reserved.
| using tsm::runtime::storage::fixed_ring_queue< Event, Capacity >::value_type = Event |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexpr |