Class tthreadcomp
Unit
Declaration
type tthreadcomp = class(tactcomponent)
Description
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tthreadcomp
Overview
Methods
procedure setactive(const Value: boolean); override; |
|
procedure loaded; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure run(const adatapo: pointer = nil); |
|
procedure terminate; |
|
procedure waitfor; |
|
function lock: boolean; |
|
procedure unlock; |
|
procedure postevent(event: tmseevent); |
|
function waitevent(const timeoutus: integer = -1): tmseevent; |
Properties
property datapo: pointer read fdatapo; |
|
property thread: teventthread read getthread; |
|
property terminated: boolean read getterminated; |
|
property options: threadcompoptionsty read foptions write foptions default []; |
|
property stacksizekb: integer read fstacksizekb write fstacksizekb default 0; |
|
property active: boolean read getactive write setactive default false; |
|
property onstart: threadcompeventty read fonstart write fonstart; |
|
property onexecute: threadcompeventty read fonexecute write fonexecute; |
|
property onterminate: threadcompeventty read fonterminate write fonterminate; |
|
property onterminated: threadcompeventty read fonterminated write fonterminated; |
Description
Methods
procedure setactive(const Value: boolean); override; |
|
procedure loaded; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure run(const adatapo: pointer = nil); |
|
procedure terminate; |
|
procedure waitfor; |
|
function lock: boolean; |
|
procedure unlock; |
|
procedure postevent(event: tmseevent); |
|
function waitevent(const timeoutus: integer = -1): tmseevent; |
|
Properties
property datapo: pointer read fdatapo; |
|
property thread: teventthread read getthread; |
|
property terminated: boolean read getterminated; |
|
property options: threadcompoptionsty read foptions write foptions default []; |
|
property stacksizekb: integer read fstacksizekb write fstacksizekb default 0; |
|
property active: boolean read getactive write setactive default false; |
|
property onstart: threadcompeventty read fonstart write fonstart; |
|
property onexecute: threadcompeventty read fonexecute write fonexecute; |
|
property onterminate: threadcompeventty read fonterminate write fonterminate; |
|
property onterminated: threadcompeventty read fonterminated write fonterminated; |
|
Generated by PasDoc 0.16.0.