SignalTimer Class

Source: AudioSignal.cs · Assembly: Dew.Signal.Audio
ComponentTMtxComponentSignalTimer

public class SignalTimer : TMtxComponent

High resolution multimedia timer.

A high resolution multimedia timer featuring threaded and message based event raising. The timer has a resolution downto 1 ms.

Properties

NameTypeDescription
BlockAssignBooleanBlock streaming of specific properties when storing only a "template".
CountInt32Return the number of timer events triggered so far.
EditorActiveBooleanReturns True, if the component editor is displayed.
EnabledBooleanSet this property to True to start the timer.
FrequencyDoubleSet the Frequency to define the frequency in Herz of the timer events.
IntervalUInt32Defines the time in miliseconds between two timer events.
InThreadBooleanSet this property to true, if you want the OnTimer event to run in its own thread.
ReferenceTReferenceListStores a list of components that have to be notified, when this component is destroyed.
ResolutionUInt32Defines the timer resolution in miliseconds.

Methods

NameDescription
AllowStreamingReturns the negatated value of BlockAssign.
AssignAssign values of all published properties from Source.
AssignTemplateAssign values of "template-like" published properties from Source.
ctor (3)
Dispose
EditorClassTo be overriden in descendanr classses.
LoadFromStreamLoad the component from Src stream.
LoadTemplateFromFileLoad a template from file.
LoadTemplateFromStreamLoad a template from stream.
ResetReset is called after loading the data from stream or file.
SaveTemplateToFileSave template to file.
SaveTemplateToStreamSave template to stream.
SaveToStreamSave the component to Dst stream.
Timer

Events

NameDescription
OnTimerOnTimer event is triggered every Interval miliseconds.