dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Core::details::Framer Class Reference

Classes

struct  Frame
struct  Header

Public Types

enum  Flag : uint8_t { None = 0x00 }

Public Member Functions

std::optional< std::vector< uint8_t > > push (std::span< uint8_t const > frame, timespec const &time)
void gc (std::chrono::milliseconds maxAge)
bool hasPendingData () const noexcept

Static Public Member Functions

static std::vector< FrameframeAll (uint32_t payloadId, std::span< uint8_t const > payload, size_t maxFrameSize)
static Frame frameNext (uint32_t payloadId, std::span< uint8_t const > fullPayload, size_t maxFrameSize, size_t &offset)
static constexpr std::size_t maxFrameSize () noexcept

Static Public Attributes

static constexpr uint16_t frameMagic = 0x5348
static constexpr uint8_t currentVersion = 1

The documentation for this class was generated from the following file: