Class tthreadcomp

Unit

Declaration

type tthreadcomp = class(tactcomponent)

Description

No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows

Hierarchy

Overview

Methods

Protected procedure setactive(const Value: boolean); override;
Protected procedure loaded; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure run(const adatapo: pointer = nil);
Public procedure terminate;
Public procedure waitfor;
Public function lock: boolean;
Public procedure unlock;
Public procedure postevent(event: tmseevent);
Public function waitevent(const timeoutus: integer = -1): tmseevent;

Properties

Public property datapo: pointer read fdatapo;
Public property thread: teventthread read getthread;
Public property terminated: boolean read getterminated;
Published property options: threadcompoptionsty read foptions write foptions default [];
Published property stacksizekb: integer read fstacksizekb write fstacksizekb default 0;
Published property active: boolean read getactive write setactive default false;
Published property onstart: threadcompeventty read fonstart write fonstart;
Published property onexecute: threadcompeventty read fonexecute write fonexecute;
Published property onterminate: threadcompeventty read fonterminate write fonterminate;
Published property onterminated: threadcompeventty read fonterminated write fonterminated;

Description

Methods

Protected procedure setactive(const Value: boolean); override;
 
Protected procedure loaded; override;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure run(const adatapo: pointer = nil);
 
Public procedure terminate;
 
Public procedure waitfor;
 
Public function lock: boolean;
 
Public procedure unlock;
 
Public procedure postevent(event: tmseevent);
 
Public function waitevent(const timeoutus: integer = -1): tmseevent;
 

Properties

Public property datapo: pointer read fdatapo;
 
Public property thread: teventthread read getthread;
 
Public property terminated: boolean read getterminated;
 
Published property options: threadcompoptionsty read foptions write foptions default [];
 
Published property stacksizekb: integer read fstacksizekb write fstacksizekb default 0;
 
Published property active: boolean read getactive write setactive default false;
 
Published property onstart: threadcompeventty read fonstart write fonstart;
 
Published property onexecute: threadcompeventty read fonexecute write fonexecute;
 
Published property onterminate: threadcompeventty read fonterminate write fonterminate;
 
Published property onterminated: threadcompeventty read fonterminated write fonterminated;
 

Generated by PasDoc 0.16.0.