holoscan::RateGenerationSnapshot
Own bounded published and rejected rate-generation evidence for one RunSession.
The snapshot contains the active published generation and, when present, the most recent rejected candidate. It owns every record and remains valid after the originating session ends. An initial candidate failure can produce a rejected-only snapshot, so published() may return null; use last_rejected() to inspect that startup failure. Generation-specific range overloads accept only the exact record returned by this snapshot; copied, caller-created, and foreign-snapshot records return an empty span. The snapshot is immutable after construction: it may be copy- or move-constructed but cannot be assigned. Copy construction creates independent record storage. Runtime callback contexts cannot capture a snapshot; ordinary compute queries continue to use the allocation-free PortRateView path.
Every returned pointer and span is borrowed from this object. It remains valid only while this snapshot remains alive and is not moved from. Do not use a record with another snapshot, including a copied snapshot.
Constructors
RateGenerationSnapshot
Default
Copy
Move
Construct an empty immutable snapshot.
Assignment operators
operator=
Deleted overloads
The following overloads are deleted to prevent misuse: