Click or drag to resize

PrecisionInputTimer Class

Precision input timer.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeriesPrecisionInputTimer

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax
public sealed class PrecisionInputTimer : IDisposable
View Source

The PrecisionInputTimer type exposes the following members.

Properties
 NameDescription
Public propertyExceptionHandler Gets or sets function used to handle exceptions.
Public propertyFrameMilliseconds Gets array of frame millisecond times for this PrecisionInputTimer.
Public propertyFramesPerSecond Gets frames per second for this PrecisionInputTimer.
Public propertyFrameWaitHandle Gets a reference to the frame wait handle.
Public propertyLastFrameTime Gets time of last frame, in ticks.
Public propertyReferenceCount Gets reference count for this PrecisionInputTimer.
Public propertyResynchronizations Gets number of resynchronizations that have occurred for this PrecisionInputTimer.
Top
Methods
 NameDescription
Public methodAddReference Adds a reference to this PrecisionInputTimer.
Public methodStatic memberAttach Attach to a PrecisionInputTimer for the specified framesPerSecond.
Public methodStatic memberDetach Detach from the PrecisionInputTimer.
Public methodDispose Releases all the resources used by the PrecisionInputTimer object.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the PrecisionInputTimer object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemoveReference Removes a reference to this PrecisionInputTimer.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
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 is used to create highly accurate simulated data inputs aligned to the local clock.
One static instance of this internal class is created per encountered frame rate.
See Also