Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::upsertChannel

Attempts an immediate numeric write without claiming authority. A retired handle fails instead of creating a replacement channel.

Declaration

virtual bool upsertChannel(const FixedChannelHandle& handle, double value,
            std::optional<uint64_t> timestamp = std::nullopt) = 0;

Parameters

NameDescription
handleHandle returned by createFixedChannel.
valueNumeric value to write.
timestampOptional Unix-epoch nanosecond timestamp.

Returns

Whether the owner accepted the write.