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


Public Member Functions | |
| DiscreteFlowData (char const *flowFilePath, AccessMode mode, LockMode lockMode) | |
| DiscreteFlowData (SharedMemoryInstance< Flow > &&flowSegement) noexcept | |
| Grain * | emplaceGrain (char const *grainFilePath, std::size_t grainPayloadSize) |
| Grain const * | grainAt (std::size_t i) const noexcept |
| Grain * | grainAt (std::size_t i) noexcept |
| std::size_t | grainCount () const noexcept |
| mxlGrainInfo const * | grainInfoAt (std::size_t i) const noexcept |
| mxlGrainInfo * | grainInfoAt (std::size_t i) noexcept |
| std::size_t | grainPayloadCapacityAt (std::size_t i) const noexcept |
| Return the number of payload bytes mapped after the header of grain i, or 0 if i is out of range. | |
| Public Member Functions inherited from mxl::lib::FlowData | |
| constexpr AccessMode | accessMode () const noexcept |
| constexpr bool | created () const noexcept |
| constexpr Flow const * | flow () const noexcept |
| constexpr Flow * | flow () noexcept |
| constexpr mxlFlowInfo const * | flowInfo () const noexcept |
| constexpr mxlFlowInfo * | flowInfo () noexcept |
| constexpr FlowState const * | flowState () const noexcept |
| constexpr FlowState * | flowState () noexcept |
| bool | isExclusive () const |
| constexpr bool | isValid () const noexcept |
| bool | makeExclusive () |
| constexpr std::size_t | mappedSize () const noexcept |
| constexpr | operator bool () const noexcept |
| virtual | ~FlowData () |
Private Attributes | |
| std::vector< SharedMemoryInstance< Grain > > | _grains |
Additional Inherited Members | |
| Protected Member Functions inherited from mxl::lib::FlowData | |
| FlowData (char const *flowFilePath, AccessMode mode, LockMode lockMode) | |
| constexpr | FlowData (SharedMemoryInstance< Flow > &&flowSegement) noexcept |
Simple structure holding the shared memory resources of discrete flows.
Definition at line 16 of file DiscreteFlowData.hpp.
|
inlineexplicitnoexcept |
Definition at line 43 of file DiscreteFlowData.hpp.
|
inline |
|
inline |
Definition at line 62 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Definition at line 85 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Definition at line 80 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Definition at line 57 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Definition at line 99 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Definition at line 90 of file DiscreteFlowData.hpp.
|
inlinenoexcept |
Return the number of payload bytes mapped after the header of grain i, or 0 if i is out of range.
Definition at line 108 of file DiscreteFlowData.hpp.
|
private |
Definition at line 36 of file DiscreteFlowData.hpp.