|
Toast Engine
|
Fixed-capacity buffer of discrete events fired in a single frame. More...
#include <value.hpp>
Public Member Functions | |
| void | emit (ActionEvent event) noexcept |
| Appends an event, ignoring overflow past the capacity. | |
| void | merge (const SignalList &other) noexcept |
| Appends every event from another list. | |
| auto | begin () const noexcept |
| auto | end () const noexcept |
| auto | empty () const noexcept -> bool |
Public Attributes | |
| std::array< ActionEvent, 8 > | items {} |
| uint8_t | count = 0 |
Fixed-capacity buffer of discrete events fired in a single frame.
Avoids per-frame heap allocation in the hot evaluation path