Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::queryFixedChannelValues

Reads a coherent task-input snapshot into caller-owned storage.

Declare these inputs with TaskRuntime::setFixedInputChannels during configuration. Outside a task snapshot, reads observe live values instead. Undeclared inputs in an ordinary partial snapshot also use live fallback, so declare every fixed input. Re-resolve after configuration changes; stale handles return the supplied fallback.

Declaration

virtual void queryFixedChannelValues(const FixedChannelBatch& batch,
            std::span<double> destination,
            double default_value = 0.0) = 0;

Parameters

NameDescription
batchPreviously resolved fixed-channel batch.
destinationCaller-owned output span with one element per channel.
default_valueValue used when a fixed-channel value is unavailable.