Table of Contents

Interface IHeatmapSeriesStateNode

Namespace
ATAS.Indicators.Heatmap
Assembly
ATAS.Indicators.dll

Read-only handle to a series within an IHeatmapVisualStateNode. The renderer iterates committed samples through this interface; mutation goes through the lease (Series<TValue>(HeatmapIndicatorSeriesHandle<TValue>)).

Added in ATAS 8.0.15.

public interface IHeatmapSeriesStateNode
Extension Methods

Properties

CommittedCount

Number of samples committed to the front and visible to the renderer.

int CommittedCount { get; }

Property Value

int

Descriptor

Series-level descriptor — role, value kind, metric id, unit, default style.

HeatmapIndicatorSeriesDescriptor Descriptor { get; }

Property Value

HeatmapIndicatorSeriesDescriptor

LastCommittedTimestampNanos

Most recent committed sample timestamp, or 0 if empty.

long LastCommittedTimestampNanos { get; }

Property Value

long

SeriesId

Stable series id, matches the descriptor entry.

string SeriesId { get; }

Property Value

string

Style

Active per-series style. Defaults to DefaultStyle; when null both the descriptor default and any visual-level style apply per renderer convention.

HeatmapIndicatorVisualStyle? Style { get; }

Property Value

HeatmapIndicatorVisualStyle

Methods

GetCommittedSamples()

Wait-free, forward-only enumeration of the front-committed samples in arrival order. The enumeration captures the committed snapshot at the moment of the call; subsequent commits do not affect an in-flight enumerator. Safe to call from any thread (typically the renderer at frame rate). Returns an empty sequence when no samples have been committed yet. The returned enumerable does NOT allocate beyond the implementation's iterator state — implementers should avoid materialising a list and may return a struct enumerator wrapped through System.Collections.Generic.IEnumerable<T>.

IEnumerable<HeatmapIndicatorVisualSample> GetCommittedSamples()

Returns

IEnumerable<HeatmapIndicatorVisualSample>