Click or drag to resize

ReplayTimer Class

Replay timer class used to pace frame publication for file-based playback.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsReplayTimer

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.270-beta
Syntax
public sealed class ReplayTimer
View Source

The ReplayTimer type exposes the following members.

Constructors
 NameDescription
Public methodReplayTimer Creates a new ReplayTimer instance.
Top
Properties
 NameDescription
Public propertyDefinedFrameRate Gets the defined frame rate for this timer.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWaitNext Blocks until the next scheduled frame rate interval.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
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.
See Also