TSignalTimer Class

Header: Dew.Signal.Audio/AudioSignal.h · Cross-compiler
tObject→TMtxComponent→TSignalTimer

class TSignalTimer : public 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.

Constructors

NameDescription
TSignalTimer (2)

Destructors

NameDescription
~TSignalTimer

Properties

NameTypeDescription
BlockAssignboolBlock streaming of specific properties when storing only a "template".
CountintReturn the number of timer events triggered so far.
EditorActiveboolReturns True, if the component editor is displayed.
EnabledboolSet this property to True to start the timer.
FrequencydoubleSet the Frequency to define the frequency in Herz of the timer events. This property also adjusts the Interval property.
Intervalunsigned intDefines the time in miliseconds between two timer events.
InThreadboolSet this property to true, if you want the OnTimer event to run in its own thread.
NameDewString
OnTimertNotifyEventOnTimer event is triggered every Interval miliseconds.
ReferenceTReferenceList*Stores a list of components that have to be notified, when this component is destroyed.
Resolutionunsigned intDefines 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.
EditorClassTo be overriden in descendanr classses.
LoadFromStreamLoad the component from Src stream.
LoadTemplateFromFileLoad a template from file.
LoadTemplateFromStreamLoad a template from stream.
ReferenceRemoved
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
UpdateTimer
WndProc

Fields

NameTypeDescription
ACount1unsigned int
ACount2unsigned int
ACount3unsigned int
aHandleintPtr
callbackTFNTimeCallBack
FCountint
fCPULoaddouble
FEnabledbool
FFrequencydouble
FIntervalunsigned int
FInThreadbool
FOnTimertNotifyEvent
FResolutionunsigned int
FSetResolutionint
FWindowHandlehWnd
Tagintptr_t
wTimerIDint