Backend contract for a single event producer with private write staging. Callers guarantee one writer...
virtual mxlStatus openEvent(mxlEventInfo *info, std::uint8_t **payload)=0
Begin a write and reset metadata to the event defaults.
FlowWriter(uuids::uuid &&flowId, std::filesystem::path const &domain)
Initialize flow identity and domain using the base writer constructors.
virtual mxlStatus commit(mxlEventInfo const &info)=0
Publish the staged bytes as one complete event or fragment.
virtual mxlStatus cancel()=0
Discard an open write without advancing the queue or timestamp.
FlowWriter(uuids::uuid &&flowId, std::filesystem::path const &domain)
struct mxlEventInfo_t mxlEventInfo
Metadata for one event queue entry, either a complete event or a fragment.
mxlStatus
MXL SDK Status codes.