Owned mappings and runtime access for event flows.
Backend contract for event queue consumers.
Backend contract for reading complete event entries or fragments in queue order. Each reader has one ...
virtual mxlFlowInfo getFlowInfo() const override
virtual FlowData const & getFlowData() const override
std::vector< std::uint8_t > _snapshot
Payload storage reused on the next read attempt.
virtual ~PosixEventFlowReader() override
Close the access descriptor and release the snapshot and shared mappings.
int _accessFileFd
Access notification descriptor, or -1 if unavailable.
std::unique_ptr< EventFlowData > _flowData
Owned common metadata and read-only event mappings.
PosixEventFlowReader(FlowManager const &manager, uuids::uuid const &flowId, std::unique_ptr< EventFlowData > &&data)
Attach a reader at the oldest retained entry.
virtual mxlFlowConfigInfo getFlowConfigInfo() const override
virtual mxlStatus getEvent(Timepoint deadline, mxlEventInfo *info, std::uint8_t **payload) override
Copy the next available entry and advance this reader's cursor.
virtual bool isFlowValid() const override
virtual mxlFlowRuntimeInfo getFlowRuntimeInfo() const override
std::uint64_t _nextIndex
Next queue entry for this reader's owning thread.
bool isFlowValidImpl() const
struct mxlEventInfo_t mxlEventInfo
Metadata for one event queue entry, either a complete event or a fragment.
struct mxlFlowRuntimeInfo_t mxlFlowRuntimeInfo
struct mxlFlowConfigInfo_t mxlFlowConfigInfo
struct mxlFlowInfo_t mxlFlowInfo
mxlStatus
MXL SDK Status codes.