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

TSysThreadsGroup

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

Declaration

Source position: systhreadsgroup.pas line 166

type TSysThreadsGroup = class(TSysThreadBase)

protected

  FThreadItemsList: TSysThreadsBaseList;

  

  FThreadsList: TSysThreadsBaseList;

  

  FOnThreadUpdate: TSysThreadUpdateNotifyEvent;

  

  FOnThreadStart: TSysThreadDataNotifyEvent;

  

  FOnThreadTerminate: TSysThreadTerminateEvent;

  

  FCountRuning: Integer;

  

  function GetRuning; override;

  

  function GetCountRuning; virtual;

  

  function GetThreadItemsCount;

  

  function GetThreadItem();

  

  function GetThreadsCount;

  

  function GetThread();

  

  function LinkedToMe();

  

  function GetCPUCores;

  

  function AddToGroup(); override;

  

  procedure RemoveFromGroup(); override;

  

  procedure ReportStarted(); override;

  

  procedure ReportTerminated(); override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Start();

  

  procedure Stop; override;

  

  procedure Suspend; override;

  

  procedure Resume; override;

  

  function AddThread();

  

  procedure RemoveThread();

  

  function AddThreadGroup();

  

  procedure RemoveThreadGroup();

  

  procedure ThreadStarted();

  

  procedure ThreadUpdate();

  

  procedure ThreadTerminated();

  

  property CountRuning: Integer; [r]

  

  property ThreadItemsCount: Integer; [r]

  

  property ThreadItems []: TSysThreadBase; [r]

  

  property ThreadsCount: Integer; [r]

  

  property Threads []: TSysThread; [r]

  

  property Runing: Boolean;

  

published

  property CPUCores: Integer; [rs]

  

  property ThreadsList: TSysThreadsBaseList; [rs]

  

  property OnThreadUpdate: TSysThreadUpdateNotifyEvent; [rw]

  

  property OnThreadStart: TSysThreadDataNotifyEvent; [rw]

  

  property OnThreadTerminate: TSysThreadTerminateEvent; [rw]

  

  property ThreadGroup: TSysThreadsGroup;

  

  property UpdatePriority: Integer;

  

  property OnUpdate: TSysThreadUpdateNotifyEvent;

  

  property OnStart: TSysThreadDataNotifyEvent;

  

  property OnTerminate: TSysThreadTerminateEvent;

  

end;

Inheritance

TSysThreadsGroup

  

|

TSysThreadBase

  

|

TObject



CT Web help

CodeTyphon Studio