FrameQueueGetFrame Method

Gets TrackingFrame from the queue with the specified timestamp, in ticks. If no frame exists for the specified timestamp, one will be created.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.180 -- Release Build+bcf005f1549dc3ddc54fe9666e195c1988efceb8
public TrackingFrame? GetFrame(
	long ticks
)

Parameters

ticks  Int64
Timestamp, in ticks, for which to get or create TrackingFrame.

Return Value

TrackingFrame
An existing or new TrackingFrame from the queue for the specified timestamp.

Remarks

Ticks can be any point in time so long time requested is greater than time of last published frame; this queue is used in a real-time scenario with time moving forward. If a frame is requested for an old timestamp, null will be returned. Note that frame returned will be "best-fit" for given timestamp based on FramesPerSecond.

See Also