MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
Flow.hpp File Reference

Internal shared-memory headers for discrete grains and event slots. More...

#include <cstddef>
#include <cstdint>
#include <iosfwd>
#include <type_traits>
#include <mxl/flow.h>
#include <mxl/platform.h>
#include "FlowState.hpp"
Include dependency graph for Flow.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mxl::lib::Event
 Fixed part of an event slot; its payload follows immediately in the mapping. More...
struct  mxl::lib::EventHeader
 768-byte slot header with layout fields, sequence and metadata on separate 128-byte boundaries. The fixed padding is part of the shared-memory ABI and must not depend on compiler CPU tuning. More...
struct  mxl::lib::Flow
struct  mxl::lib::Grain
struct  mxl::lib::GrainHeader

Namespaces

namespace  mxl
namespace  mxl::lib

Functions

std::ostream & mxl::lib::operator<< (std::ostream &os, Grain const &obj)

Variables

constexpr auto mxl::lib::EVENT_HEADER_VERSION = std::uint32_t{1}
 Version stored in the public mxlEventInfo metadata of every published entry.
constexpr auto mxl::lib::FLOW_DATA_VERSION = 1U
 The version of the flow data structs in shared memory that we expect and support.
constexpr auto mxl::lib::GRAIN_HEADER_VERSION = 1U
 The version of the grain header structs in shared memory that we expect an support.
constexpr auto const mxl::lib::MXL_GRAIN_PAYLOAD_OFFSET = std::size_t{8192}

Detailed Description

Internal shared-memory headers for discrete grains and event slots.

Definition in file Flow.hpp.