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.150 -- Release Build+b0ded34473a5ec0794290d60061683cd4a0402e5
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