TTimerEx

From Ultibo.org
Revision as of 05:20, 31 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit UltiboClasses __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-colla...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit UltiboClasses


Description


To be documented

Class definitions



TTimerEx = class(TObject)

Note: TTimer/TFPTimer equivalent for Ultibo specific timers
 
constructor Create;  
destructor Destroy; override;  
private
FInterval:Integer;  
FEnabled:Boolean;  
FWorker:Boolean; If True then use a Worker thread for the timer event
FOnTimer:TNotifyEvent;  
FTimerHandle:TTimerHandle;  
 
procedure SetEnabled(Value:Boolean);  
protected
procedure Timer; virtual;  
procedure StartTimer; virtual;  
procedure StopTimer; virtual;  
public
property Interval:Integer read FInterval write FInterval;  
property Enabled:Boolean read FEnabled write SetEnabled;  
property Worker:Boolean read FWorker write FWorker;  
 
property OnTimer:TNotifyEvent read FOnTimer write FOnTimer;  


Function declarations



constructor TTimerEx.Create;
Description: To be documented
Note None documented


destructor TTimerEx.Destroy;
Description: To be documented
Note None documented


procedure TTimerEx.SetEnabled(Value:Boolean);
Description: To be documented
Note None documented


procedure TTimerEx.Timer;
Description: To be documented
Note None documented


procedure TTimerEx.StartTimer;
Description: To be documented
Note None documented


procedure TTimerEx.StopTimer;
Description: To be documented
Note None documented


Return to Unit Reference