Class tcustommseprocess
Unit
Declaration
type tcustommseprocess = class(tactcomponent, istatfile, iprocmonitor)
Description
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tcustommseprocess
Overview
Fields
foptions: processoptionsty; |
|
fstate: processstatesty; |
Methods
procedure setoptions(const avalue: processoptionsty) virtual; |
|
procedure setactive(const avalue: boolean); override; |
|
procedure loaded; override; |
|
procedure listen; |
|
procedure unlisten; |
|
procedure finalizeexec; |
|
procedure receiveevent(const event: tobjectevent); override; |
|
procedure waitforpipeeof; |
|
procedure doprocfinishedvirtual; |
|
procedure postprocessdied; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
procedure processdied(const aprochandle: prochandlety; const aexecresult: integer; const adata: pointer); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
function running: boolean; |
|
procedure terminate; |
|
procedure kill; |
|
function waitforprocess: integer; overload; |
|
function waitforprocess(const atimeoutus: integer): boolean; overload; |
Properties
property commandline: msestring read getcommandline write setcommandline; |
|
property prochandle: prochandlety read fprochandle; |
|
property lastprochandle: prochandlety read flastprochandle; |
|
property exitcode: integer read fexitcode; |
|
property filename: filenamety read ffilename write ffilename; |
|
property parameter: msestring read fparameter write fparameter; |
|
property workingdirectory: filenamety read fworkingdirectory
write fworkingdirectory; |
|
property params: tmsestringdatalist read fparams write setparams; |
|
property envvars: tmsestringdatalist read fenvvars write setenvvars; |
|
property active: boolean read getactive write setactive default false; |
|
property options: processoptionsty read foptions write setoptions
default defaultprocessoptions; |
|
property pipewaitus: integer read fpipewaitus write fpipewaitus
default defaultpipewaitus; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property input: tpipewriterpers read finput write setinput; |
|
property output: tpipereaderpers read foutput write setoutput; |
|
property erroroutput: tpipereaderpers read ferroroutput write seterroroutput; |
|
property onprocfinished: notifyeventty read fonprocfinished
write fonprocfinished; |
|
property oncheckabort: updatebooleaneventty
read foncheckabort write foncheckabort; |
Description
Fields
foptions: processoptionsty; |
|
fstate: processstatesty; |
|
Methods
procedure setoptions(const avalue: processoptionsty) virtual; |
|
procedure setactive(const avalue: boolean); override; |
|
procedure loaded; override; |
|
procedure listen; |
|
procedure unlisten; |
|
procedure finalizeexec; |
|
procedure receiveevent(const event: tobjectevent); override; |
|
procedure waitforpipeeof; |
|
procedure doprocfinishedvirtual; |
|
procedure postprocessdied; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
procedure processdied(const aprochandle: prochandlety; const aexecresult: integer; const adata: pointer); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
function running: boolean; |
|
procedure terminate; |
|
procedure kill; |
|
function waitforprocess: integer; overload; |
|
function waitforprocess(const atimeoutus: integer): boolean; overload; |
|
Properties
property commandline: msestring read getcommandline write setcommandline; |
|
property prochandle: prochandlety read fprochandle; |
|
property lastprochandle: prochandlety read flastprochandle; |
|
property exitcode: integer read fexitcode; |
|
property filename: filenamety read ffilename write ffilename; |
|
property parameter: msestring read fparameter write fparameter; |
|
property workingdirectory: filenamety read fworkingdirectory
write fworkingdirectory; |
|
property params: tmsestringdatalist read fparams write setparams; |
|
property envvars: tmsestringdatalist read fenvvars write setenvvars; |
|
property active: boolean read getactive write setactive default false; |
|
property options: processoptionsty read foptions write setoptions
default defaultprocessoptions; |
|
property pipewaitus: integer read fpipewaitus write fpipewaitus
default defaultpipewaitus; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property input: tpipewriterpers read finput write setinput; |
|
property output: tpipereaderpers read foutput write setoutput; |
|
property erroroutput: tpipereaderpers read ferroroutput write seterroroutput; |
|
property onprocfinished: notifyeventty read fonprocfinished
write fonprocfinished; |
|
property oncheckabort: updatebooleaneventty
read foncheckabort write foncheckabort; |
|
Generated by PasDoc 0.16.0.