Skip to navigation

holoscan::EmitOptions

Beta
View as Markdown

Supply optional semantic metadata when publishing a payload value.

Capture time is optional unless the compiled binding requires it. Omission remains canonical absence and never authorizes an implicit clock read or timestamp substitution. Runtime stamps sequence, payload kind, and logical byte size according to the admitted output binding, and stamps publication time from the Graph default clock at the submission boundary. There is no option here for publication time because it is not the author’s to state: a value naming when Runtime submitted the sample can only be measured at that boundary. A supplied capture time must belong to the clock-catalog scope admitted for that binding; numeric ClockId equality alone does not establish this.

#include <holoscan/sample.hpp>

Member variables

NameTypeDescription
capture_timestd::optional< TimePoint >Genuine capture/acquisition time when supplied.
frame_idstd::optional< std::uint64_t >Application frame/sample identity when supplied.
tracestd::optional< TraceContext >Explicit trace context when supplied.
flagsEmitFlagsCaller-supplied validity/degradation flags.