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.136 -- Release Build+045677775a56d15698be6ced5ce5213063e47102
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