|
MXL : Media eXchange Layer
MXL
|
Backend contract for reading complete event entries or fragments in queue order. Each reader has one owning thread; concurrent consumers must use independent readers. More...
#include <EventFlowReader.hpp>


Public Member Functions | |
| virtual mxlStatus | getEvent (Timepoint deadline, mxlEventInfo *info, std::uint8_t **payload)=0 |
| Copy the next available entry and advance this reader's cursor. | |
| Public Member Functions inherited from mxl::lib::FlowReader | |
| std::filesystem::path const & | getDomain () const |
| virtual mxlFlowConfigInfo | getFlowConfigInfo () const =0 |
| virtual FlowData const & | getFlowData () const =0 |
| virtual mxlFlowInfo | getFlowInfo () const =0 |
| virtual mxlFlowRuntimeInfo | getFlowRuntimeInfo () const =0 |
| uuids::uuid const & | getId () const |
| virtual | ~FlowReader () |
Protected Member Functions | |
| FlowReader (uuids::uuid &&flowId, std::filesystem::path const &domain) | |
| Initialize flow identity and domain using the base reader constructors. | |
| FlowReader (uuids::uuid const &flowId, std::filesystem::path const &domain) | |
| Initialize flow identity and domain using the base reader constructors. | |
| Protected Member Functions inherited from mxl::lib::FlowReader | |
| bool | checkPermissions () const |
| FlowReader (uuids::uuid &&flowId, std::filesystem::path const &domain) | |
| FlowReader (uuids::uuid const &flowId, std::filesystem::path const &domain) | |
| virtual bool | isFlowValid () const =0 |
Backend contract for reading complete event entries or fragments in queue order. Each reader has one owning thread; concurrent consumers must use independent readers.
Definition at line 18 of file EventFlowReader.hpp.
|
explicitprotected |
Initialize flow identity and domain using the base reader constructors.
| flowId | Identifier of the event flow. |
| domain | Domain directory containing the flow. |
Definition at line 84 of file FlowReader.cpp.
|
explicitprotected |
Initialize flow identity and domain using the base reader constructors.
| flowId | Identifier of the event flow. |
| domain | Domain directory containing the flow. |
Definition at line 85 of file FlowReader.cpp.
|
pure virtual |
Copy the next available entry and advance this reader's cursor.
| deadline | Absolute realtime deadline for waiting; an expired deadline permits one attempt. | |
| [out] | info | Metadata destination, valid on success; must not be null. |
| [out] | payload | Receives private snapshot storage on success; must not be null. |
Implemented in mxl::lib::PosixEventFlowReader.