#include <parameter_event_queue.hpp>
|
| static constexpr std::size_t | kCapacity = 1024 |
◆ const_iterator
◆ iterator
◆ ParameterEventQueue()
| pulp::state::ParameterEventQueue::ParameterEventQueue |
( |
| ) |
|
|
default |
◆ begin() [1/2]
| iterator pulp::state::ParameterEventQueue::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
◆ capacity()
| std::size_t pulp::state::ParameterEventQueue::capacity |
( |
| ) |
const |
|
inlineconstexpr |
◆ clear()
| void pulp::state::ParameterEventQueue::clear |
( |
| ) |
|
|
inline |
◆ dropped_event_count()
| std::uint32_t pulp::state::ParameterEventQueue::dropped_event_count |
( |
| ) |
const |
|
inline |
◆ empty()
| bool pulp::state::ParameterEventQueue::empty |
( |
| ) |
const |
|
inline |
◆ end() [1/2]
| iterator pulp::state::ParameterEventQueue::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
◆ events()
| std::span< const ParameterEvent > pulp::state::ParameterEventQueue::events |
( |
| ) |
const |
|
inline |
◆ overflow_count()
| std::uint64_t pulp::state::ParameterEventQueue::overflow_count |
( |
| ) |
const |
|
inline |
◆ overflowed()
| bool pulp::state::ParameterEventQueue::overflowed |
( |
| ) |
const |
|
inline |
◆ push()
| bool pulp::state::ParameterEventQueue::push |
( |
const ParameterEvent & | e | ) |
|
|
inline |
◆ reset_overflow_count()
| void pulp::state::ParameterEventQueue::reset_overflow_count |
( |
| ) |
|
|
inline |
◆ size()
| std::size_t pulp::state::ParameterEventQueue::size |
( |
| ) |
const |
|
inline |
◆ sort() [1/2]
| void pulp::state::ParameterEventQueue::sort |
( |
| ) |
|
|
inline |
◆ sort() [2/2]
| void pulp::state::ParameterEventQueue::sort |
( |
std::span< ParameterEvent > | scratch, |
|
|
std::span< std::uint32_t > | offset_counts ) |
|
inline |
sort() for a caller that can lend scratch storage, typically sized once at prepare time: a stable counting sort on sample_offset, O(n + range), when every offset lies in [0, offset_counts.size()) and scratch holds size() events; otherwise sort().
Allocation-free either way.
◆ telemetry()
◆ kCapacity
| std::size_t pulp::state::ParameterEventQueue::kCapacity = 1024 |
|
staticconstexpr |
The documentation for this class was generated from the following file: