Unit 'SysThreadsGroup' Package
[Overview][Types][Classes][Index] [#bs_enginesplus]

TSysThread

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: systhreadsgroup.pas line 112

type TSysThread = class(TSysThreadBase)

protected

  FUpdateTimer: TTimer;

  

  FOnExecute: TSysThreadDataNotifyEvent;

  

  FExecuteThread: TSysExecuteThread;

  

  FPriority: TThreadPriority;

  

  FUpdateEnabled: Boolean;

  

  FInterrupted: Boolean;

  

  procedure OnUpdateTimer(); virtual;

  

  procedure Execute; virtual;

  

  procedure OnThreadTerminate(); virtual;

  

  procedure OnThreadTerminateClose(); virtual;

  

  procedure ReportStarted(); override;

  

  procedure ReportTerminated(); override;

  

  function AddToGroup(); override;

  

  procedure RemoveFromGroup(); override;

  

  procedure SetTimeInterval();

  

  function GetTimeInterval;

  

  procedure SetPriority();

  

  function GetPriority;

  

  function GetRuning; override;

  

  procedure SetUpdateEnabled();

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Start();

  

  procedure Stop; override;

  

  procedure Suspend; override;

  

  procedure Resume; override;

  

  property Interrupted: Boolean; [r]

  

  property Thread: TSysExecuteThread; [r]

  

  property Runing: Boolean;

  

published

  property RefreshInterval: Cardinal; [rw]

  

  property Priority: TThreadPriority; [rw]

  

  property UpdateEnabled: Boolean; [rw]

  

  property ThreadGroup: TSysThreadsGroup;

  

  property UpdatePriority: Integer;

  

  property OnExecute: TSysThreadDataNotifyEvent; [rw]

  

  property OnUpdate: TSysThreadUpdateNotifyEvent;

  

  property OnStart: TSysThreadDataNotifyEvent;

  

  property OnTerminate: TSysThreadTerminateEvent;

  

end;

Inheritance

TSysThread

  

|

TSysThreadBase

  

|

TObject



CT Web help

CodeTyphon Studio