|
gstreamer
|
Implementation-defined bound used by GEMC to establish safe input progress. More...
#include <gSROPlugin.h>
Public Member Functions | |
| virtual | ~GSROTiming ()=default |
| virtual std::optional< GSROTime > | earliest_remaining_time (GSROEventId first_undelivered_event) const =0 |
| Lower bound for every possible payload from this event and all subsequent events. | |
Configure one timing model per run invocation. GEMC supplies the first event not fully delivered, after checking the contiguous prefix of closed events and retention of their payloads in crate buffers. Calls must be safe on a shared const instance, independent of worker scheduling. GSROService calls this model on its progress thread, outside its mutex. Return promptly, do not call back into the service, and throw on failure; the service cancels crate input and reports the error at shutdown.
Definition at line 23 of file gSROPlugin.h.
|
virtualdefault |
|
nodiscardpure virtual |
This is not merely the next event's start time. Account for negative electronics offsets and any non-monotonic source timestamps. Return std::nullopt when no finite bound can be guaranteed. A returned bound must not decrease as first_undelivered_event advances. All crates share this bound. GEMC must not use an event's completion count or its largest observed hit time as a substitute.