10#include <picojson/wrapper.h>
38 uuids::uuid
const&
getId()
const;
96 T
get(std::string
const& field)
const;
118 if (
auto const it =
_root.find(field); it !=
_root.end())
120 return it->second.get<T>();
124 auto msg = std::string{
"Required '"} + field +
"' not found.";
125 throw std::invalid_argument{std::move(msg)};
std::array< std::uint32_t, MXL_MAX_PLANES_PER_GRAIN > getPayloadSliceLengths() const
mxlDataFormat getFormat() const
FlowParser(std::string const &in_flowDef)
std::size_t getTotalPayloadSlices() const
T get(std::string const &field) const
mxlRational getGrainRate() const
std::size_t getChannelCount() const
std::size_t getPayloadSize() const
uuids::uuid const & getId() const
Public configuration and runtime metadata for MXL flows.
struct mxlRational_t mxlRational