Skip to main content

GraphLinkOptions Struct

Options for Graph::connect(from, to, options). More...

Declaration

struct simaai::neat::GraphLinkOptions { ... }

Included Headers

#include <GraphOptions.h>

Public Member Attributes Index

GraphLinkPolicypolicy = GraphLinkPolicy::Default
intqueue_depth = 16

Reserved for source compatibility. More...

std::stringstream_id

Optional stable stream id stamped on samples before realtime scheduling. More...

intmax_inflight_per_stream = -1

Only applies to realtime-by-stream links carrying raw decoder-backed samples. More...

intmax_inflight_total = -1

Only applies to realtime-by-stream links carrying raw decoder-backed samples. More...

Description

Options for Graph::connect(from, to, options).

Definition at line 63 of file GraphOptions.h.

Public Member Attributes

max_inflight_per_stream

int simaai::neat::GraphLinkOptions::max_inflight_per_stream = -1

Only applies to realtime-by-stream links carrying raw decoder-backed samples.

-1 uses the framework default (4); positive values set the per-stream raw-frame inflight cap.

Definition at line 73 of file GraphOptions.h.

max_inflight_total

int simaai::neat::GraphLinkOptions::max_inflight_total = -1

Only applies to realtime-by-stream links carrying raw decoder-backed samples.

-1 keeps env/default behavior; positive values set the total cap across streams.

Definition at line 76 of file GraphOptions.h.

policy

GraphLinkPolicy simaai::neat::GraphLinkOptions::policy = GraphLinkPolicy::Default

Definition at line 64 of file GraphOptions.h.

queue_depth

int simaai::neat::GraphLinkOptions::queue_depth = 16

Reserved for source compatibility.

RealtimeLatestByStream always keeps one pending sample per stream, regardless of this value.

Definition at line 67 of file GraphOptions.h.

stream_id

std::string simaai::neat::GraphLinkOptions::stream_id

Optional stable stream id stamped on samples before realtime scheduling.

Leave it empty to derive identity from the source edge.

Definition at line 70 of file GraphOptions.h.


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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.