[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit '_crw_polling' (#crwlib)

TPolling

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

Declaration

Source position: _crw_polling.pas line 75

type TPolling = class(TLatch)

public

  constructor Create();

  destructor Destroy; override;

  procedure AfterConstruction; override;

  procedure BeforeDestruction; override;

protected

  procedure OnEnterThread; virtual;

  procedure OnLeaveThread; virtual;

  procedure OnPollingLoopBefore; virtual;

  procedure OnPollingLoopAfter; virtual;

public

  class function DefMsgPump;

  class procedure SetDefMsgPump();

  class function DefRedirectStdIo;

  class procedure SetDefRedirectStdIo();

  property Name: LongString; [r]

  property Tid: TPid; [r]

  property ThreadID: THandle; [r]

  property ThreadHandle: THandle; [r]

  property Enabled: Boolean; [rw]

  property UseMsgPump: Boolean; [rw]

  property Delay: Integer; [rw]

  property Priority: TThreadPriority; [rw]

  property LinkObject: TObject; [rw]

  property LinkCustom: Pointer; [rw]

  property LinkText: LongString; [rw]

  property LinkParam []: Double; [rw]

  property LoopCount: Int64; [r]

  property LoopTime: Int64; [r]

  property HistStep: Integer; [r]

  property HistSize: Integer; [r]

  property HistData []: Int64; [r]

  function SyncLoop();

  function WaitForLoop();

  function Enable();

  function GetCpuLoad();

  function WdtAlert();

  procedure WdtReset;

  procedure Awake;

  function AwakeFlag;

  procedure HistClear;

  property DefPollPeriod: Integer; [rw]

end;

Inheritance

TPolling

|

TLatch

|

TMasterObject

|

TObject