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


Public Member Functions | |
| virtual mxlStatus | cancel () override |
| virtual mxlStatus | commit (mxlGrainInfo const &mxlGrainInfo) override |
| virtual mxlFlowConfigInfo | getFlowConfigInfo () const override |
| virtual FlowData const & | getFlowData () const override |
| virtual FlowData & | getFlowData () override |
| virtual mxlFlowInfo | getFlowInfo () const override |
| virtual mxlFlowRuntimeInfo | getFlowRuntimeInfo () const override |
| virtual mxlGrainInfo | getGrainInfo (std::uint64_t in_index) const override |
| virtual bool | isExclusive () const override |
| virtual bool | makeExclusive () override |
| virtual mxlStatus | openGrain (std::uint64_t in_index, mxlGrainInfo *out_grainInfo, std::uint8_t **out_payload) override |
| PosixDiscreteFlowWriter (FlowManager const &manager, uuids::uuid const &flowId, std::unique_ptr< DiscreteFlowData > &&data, DomainWatcher::ptr const &watcher) | |
| ~PosixDiscreteFlowWriter () override | |
| Public Member Functions inherited from mxl::lib::FlowWriter | |
| uuids::uuid const & | getId () const |
| virtual | ~FlowWriter () |
Private Attributes | |
| std::uint64_t | _currentIndex |
| std::unique_ptr< DiscreteFlowData > | _flowData |
| std::uint64_t | _lastCommittedIndex |
| DomainWatcher::ptr | _watcher |
Additional Inherited Members | |
| Protected Member Functions inherited from mxl::lib::DiscreteFlowWriter | |
| FlowWriter (uuids::uuid &&flowId, std::filesystem::path const &domain) | |
| FlowWriter (uuids::uuid const &flowId, std::filesystem::path const &domain) | |
| Protected Member Functions inherited from mxl::lib::FlowWriter | |
| bool | checkPermissions () const |
| FlowWriter (uuids::uuid &&flowId, std::filesystem::path const &domain) | |
| FlowWriter (uuids::uuid const &flowId, std::filesystem::path const &domain) | |
Implementation of a FlowWriter based on POSIX shared memory mapping.
Definition at line 21 of file PosixDiscreteFlowWriter.hpp.
| mxl::lib::PosixDiscreteFlowWriter::PosixDiscreteFlowWriter | ( | FlowManager const & | manager, |
| uuids::uuid const & | flowId, | ||
| std::unique_ptr< DiscreteFlowData > && | data, | ||
| DomainWatcher::ptr const & | watcher ) |
Creates a PosixDiscreteFlowWriter
| [in] | manager | A referene to the flow manager used to obtain additional information about the flows context. |
Definition at line 21 of file PosixDiscreteFlowWriter.cpp.
|
override |
Definition at line 32 of file PosixDiscreteFlowWriter.cpp.
|
overridevirtual |
Implements mxl::lib::DiscreteFlowWriter.
Definition at line 135 of file PosixDiscreteFlowWriter.cpp.
|
overridevirtual |
Implements mxl::lib::DiscreteFlowWriter.
Definition at line 161 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowWriter.
Definition at line 67 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Accessor for the underlying flow data. The flow writer must first open the flow before invoking this method.
Implements mxl::lib::FlowWriter.
Definition at line 53 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Accessor for the underlying flow data. The flow writer must first open the flow before invoking this method.
Implements mxl::lib::FlowWriter.
Definition at line 44 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowWriter.
Definition at line 62 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::FlowWriter.
Definition at line 72 of file PosixDiscreteFlowWriter.cpp.
|
nodiscardoverridevirtual |
Implements mxl::lib::DiscreteFlowWriter.
Definition at line 77 of file PosixDiscreteFlowWriter.cpp.
|
overridevirtual |
Check if this is the only writer for this flow.
Implements mxl::lib::FlowWriter.
Definition at line 141 of file PosixDiscreteFlowWriter.cpp.
|
overridevirtual |
Try to turn this into a exclusive writer.
Implements mxl::lib::FlowWriter.
Definition at line 151 of file PosixDiscreteFlowWriter.cpp.
|
overridevirtual |
Implements mxl::lib::DiscreteFlowWriter.
Definition at line 84 of file PosixDiscreteFlowWriter.cpp.
|
private |
The currently opened grain index. MXL_UNDEFINED_INDEX if no grain is currently opened.
Definition at line 79 of file PosixDiscreteFlowWriter.hpp.
|
private |
The FlowData for the currently opened flow. null if no flow is opened.
Definition at line 77 of file PosixDiscreteFlowWriter.hpp.
|
private |
The last committed grain index. MXL_UNDEFINED_INDEX if no grain has been committed yet.
Definition at line 81 of file PosixDiscreteFlowWriter.hpp.
|
private |
Definition at line 86 of file PosixDiscreteFlowWriter.hpp.