|
Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
|
Zero-overhead Queue Policy for services or buses that do not receive or queue incoming events. Occupies zero storage space when combined with [[no_unique_address]] in container types. More...
#include <QueuePolicies.hpp>
Collaboration diagram for corium::NoQueuePolicy< EventVariant >:Classes | |
| struct | PushResult |
Public Types | |
| using | EventType = EventVariant |
Public Member Functions | |
| bool | empty () const noexcept |
| Always returns true as no events can be queued. | |
| bool | tryPop (EventVariant &) noexcept |
| Always fails to pop events as queue capacity is 0. | |
| PushResult | tryPush (EventVariant, EventPriority=EventPriority::Normal) noexcept |
| Always fails to push events as queue capacity is 0. | |
Zero-overhead Queue Policy for services or buses that do not receive or queue incoming events. Occupies zero storage space when combined with [[no_unique_address]] in container types.
| EventVariant | The variant type list of supported events. |
| using corium::NoQueuePolicy< EventVariant >::EventType = EventVariant |
|
inlinenoexcept |
Always returns true as no events can be queued.
|
inlinenoexcept |
Always fails to pop events as queue capacity is 0.
|
inlinenoexcept |
Always fails to push events as queue capacity is 0.