Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
Loading...
Searching...
No Matches
frames::FrameSlots Class Reference
Inheritance diagram for frames::FrameSlots:
frames::SlotReleaser

Public Member Functions

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
 
- Public Member Functions inherited from frames::SlotReleaser

Member Function Documentation

◆ release_slot()

void frames::FrameSlots::release_slot ( size_t slot)
inlineoverridevirtual

Implements frames::SlotReleaser.


The documentation for this class was generated from the following file: