|
|
std::optional< size_t > | begin_write () |
| | A slot that is not latest, not leased and not being written; nullopt (and a counted drop) if none.
|
| |
|
void | publish (size_t slot, FrameMeta meta) |
| | Make a written slot the latest frame. Assigns the next sequence number.
|
| |
|
void | abort_write (size_t slot, AbortReason reason) |
| | Give up a slot taken by begin_write(). Oversize and Corrupt are counted.
|
| |
|
std::optional< FrameLease > | acquire_latest () |
| |
|
std::optional< FrameLease > | acquire_latest (SlotReleaser &releaser) |
| | Lease the latest frame; the lease will call releaser.release_slot() when done.
|
| |
| void | release_slot (size_t slot) override |
| |
|
uint32_t | frames_published () const |
| |
|
uint32_t | frames_dropped_no_slot () const |
| |
|
uint32_t | frames_dropped_oversize () const |
| |
|
uint32_t | frames_dropped_corrupt () const |
| |
◆ release_slot()
| void frames::FrameSlots::release_slot |
( |
size_t | slot | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: