Class TAsyncTimer (unit AsyncTimer)

Inherits from

TComponent

Constructors


constructor Create( AnOwner :TComponent );

TAsyncTimer


Functions

destructor Destroy;


procedure Loaded;


procedure Timer;


procedure TimingFault;


procedure DoneTakerThread;

create thread at run-time only

procedure DoneTimerThread;

create thread at run-time only

procedure InitTakerThread;


procedure InitTimerThread;


procedure SetEnabled( NewState :Boolean );


procedure SetTakerThreadPriority( NewPriority :TThreadPriority );


procedure SetTimerThreadPriority( NewPriority :TThreadPriority );


procedure UpdateTakerThreadPriority;


procedure UpdateTimerThreadPriority;


Properties

property Enabled : Boolean


property Interval : Longint


property TakerThreadPriority : TThreadPriority


property TimerThreadPriority : TThreadPriority


Events

event OnTimer : TNotifyEvent


event OnTimingFault : TNotifyEvent


Variables

FEnabled : Boolean;


FFinished : Boolean;


FInterval : Longint;


FOnTimer : TNotifyEvent;


FOnTimingFault : TNotifyEvent;


FTakerActive : Boolean;


FTakerThread : THandle;


FTakerThreadID : THandle;


FTakerThreadPriority : TThreadPriority;


FTimerThread : THandle;


FTimerThreadID : THandle;


FTimerThreadPriority : TThreadPriority;



Constructors


constructor Create( AnOwner :TComponent );

TAsyncTimer


Functions


destructor Destroy;


procedure Loaded;


procedure Timer;


procedure TimingFault;


procedure DoneTakerThread;

create thread at run-time only


procedure DoneTimerThread;

create thread at run-time only


procedure InitTakerThread;


procedure InitTimerThread;


procedure SetEnabled( NewState :Boolean );


procedure SetTakerThreadPriority( NewPriority :TThreadPriority );


procedure SetTimerThreadPriority( NewPriority :TThreadPriority );


procedure UpdateTakerThreadPriority;


procedure UpdateTimerThreadPriority;


Properties


property Enabled : Boolean


property Interval : Longint


property TakerThreadPriority : TThreadPriority


property TimerThreadPriority : TThreadPriority


Events


event OnTimer : TNotifyEvent


event OnTimingFault : TNotifyEvent


Variables


FEnabled : Boolean;


FFinished : Boolean;


FInterval : Longint;


FOnTimer : TNotifyEvent;


FOnTimingFault : TNotifyEvent;


FTakerActive : Boolean;


FTakerThread : THandle;


FTakerThreadID : THandle;


FTakerThreadPriority : TThreadPriority;


FTimerThread : THandle;


FTimerThreadID : THandle;


FTimerThreadPriority : TThreadPriority;