|
MXL : Media eXchange Layer
MXL
|
#include <PosixContinuousFlowReader.hpp>


Public Member Functions | |
| virtual mxlFlowConfigInfo | getFlowConfigInfo () const override |
| virtual FlowData const & | getFlowData () const override |
| virtual mxlFlowInfo | getFlowInfo () const override |
| virtual mxlFlowRuntimeInfo | getFlowRuntimeInfo () const override |
| virtual std::size_t | getMaxReadLength () const override |
| virtual mxlStatus | getSamples (std::uint64_t index, std::size_t count, mxlWrappedMultiBufferSlice &payloadBuffersSlices) override |
| virtual mxlStatus | getSamples (std::uint64_t index, std::size_t count, Timepoint deadline, mxlWrappedMultiBufferSlice &payloadBuffersSlices) override |
| PosixContinuousFlowReader (FlowManager const &manager, uuids::uuid const &flowId, std::unique_ptr< ContinuousFlowData > &&data) | |
| virtual mxlStatus | waitForSamples (std::uint64_t index, Timepoint deadline) const override |
| Public Member Functions inherited from mxl::lib::FlowReader | |
| std::filesystem::path const & | getDomain () const |
| uuids::uuid const & | getId () const |
| virtual | ~FlowReader () |
Protected Member Functions | |
| virtual bool | isFlowValid () const override |
| Protected Member Functions inherited from mxl::lib::ContinuousFlowReader | |
| FlowReader (uuids::uuid &&flowId, std::filesystem::path const &domain) | |
| FlowReader (uuids::uuid const &flowId, std::filesystem::path const &domain) | |
| 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) | |
Private Member Functions | |
| mxlStatus | getSamplesImpl (std::uint64_t index, std::size_t count, mxlWrappedMultiBufferSlice *payloadBuffersSlices) const |
| mxlStatus | getSamplesImpl (std::uint64_t index, std::size_t count, Timepoint deadline, mxlWrappedMultiBufferSlice *payloadBuffersSlices) const |
| bool | isFlowValidImpl () const |
Private Attributes | |
| std::size_t | _bufferLength |
| std::size_t | _channelCount |
| std::unique_ptr< ContinuousFlowData > | _flowData |
Implementation of a continuous flow reader based on POSIX shared memory.
Definition at line 22 of file PosixContinuousFlowReader.hpp.
| mxl::lib::PosixContinuousFlowReader::PosixContinuousFlowReader | ( | FlowManager const & | manager, |
| uuids::uuid const & | flowId, | ||
| std::unique_ptr< ContinuousFlowData > && | data ) |
| [in] | manager | A referene to the flow manager used to obtain additional information about the flows context. |
Definition at line 14 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowReader.
Definition at line 43 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowReader.
Definition at line 29 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowReader.
Definition at line 38 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowReader.
Definition at line 48 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::ContinuousFlowReader.
Definition at line 53 of file PosixContinuousFlowReader.cpp.
|
overridevirtual |
Implements mxl::lib::ContinuousFlowReader.
Definition at line 91 of file PosixContinuousFlowReader.cpp.
|
overridevirtual |
Implements mxl::lib::ContinuousFlowReader.
Definition at line 74 of file PosixContinuousFlowReader.cpp.
|
private |
Implementation of the various forms of getSamples() that can also be used by other methods that have previously asserted that we're operating on a valid flow (i.e. that _flowData is a valid pointer).
Definition at line 124 of file PosixContinuousFlowReader.cpp.
|
private |
Implementation of the blocking form of getSamples() and waitForSamples() that can also be used by other methods that have previously asserted that we're operating on a valid flow (i.e. that _flowData is a valid pointer).
Definition at line 163 of file PosixContinuousFlowReader.cpp.
|
nodiscardoverrideprotectedvirtual |
Implements mxl::lib::FlowReader.
Definition at line 106 of file PosixContinuousFlowReader.cpp.
|
nodiscardprivate |
Implementation of isFlowValid() that can be used by other methods that have previously asserted that we're operating on a valid flow (i.e. that _flowData is a valid pointer).
Definition at line 111 of file PosixContinuousFlowReader.cpp.
|
overridevirtual |
Implements mxl::lib::ContinuousFlowReader.
Definition at line 58 of file PosixContinuousFlowReader.cpp.
|
private |
Cached copy of the length of the per channel buffers from mxlFlowInfo.
Definition at line 96 of file PosixContinuousFlowReader.hpp.
|
private |
Cached copy of the numer of channels from mxlFlowInfo.
Definition at line 94 of file PosixContinuousFlowReader.hpp.
|
private |
Definition at line 92 of file PosixContinuousFlowReader.hpp.