ReplayTimer Class

Replay timer class used to pace frame publication for file-based playback.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.164 -- Release Build+e526f121ce33f6a601f5d1519047de17ef46ec99
public sealed class ReplayTimer
Inheritance
Object    ReplayTimer

Remarks

This class uses a combination of coarse sleeping, yielding, and spinning for accurate wait times with minimal CPU usage. Supports common frame rates, e.g., 30 or 60, and very high frame rates, e.g., 3000.

Constructors

ReplayTimer Creates a new ReplayTimer instance.

Properties

DefinedFrameRate Gets the defined frame rate for this timer.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
WaitNext Blocks until the next scheduled frame rate interval.

See Also