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.185 -- Release Build+b7b682b8945c85d4c7ddac3930abbcf9acc6e104
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