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

Overview

Fields

Protected foptions: processoptionsty;
Protected fstate: processstatesty;

Methods

Protected procedure setoptions(const avalue: processoptionsty) virtual;
Protected procedure setactive(const avalue: boolean); override;
Protected procedure loaded; override;
Protected procedure listen;
Protected procedure unlisten;
Protected procedure finalizeexec;
Protected procedure receiveevent(const event: tobjectevent); override;
Protected procedure waitforpipeeof;
Protected procedure doprocfinishedvirtual;
Protected procedure postprocessdied;
Protected procedure dostatread(const reader: tstatreader);
Protected procedure dostatwrite(const writer: tstatwriter);
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Protected procedure processdied(const aprochandle: prochandlety; const aexecresult: integer; const adata: pointer);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public function running: boolean;
Public procedure terminate;
Public procedure kill;
Public function waitforprocess: integer; overload;
Public function waitforprocess(const atimeoutus: integer): boolean; overload;

Properties

Public property commandline: msestring read getcommandline write setcommandline;
Public property prochandle: prochandlety read fprochandle;
Public property lastprochandle: prochandlety read flastprochandle;
Public property exitcode: integer read fexitcode;
Public property filename: filenamety read ffilename write ffilename;
Public property parameter: msestring read fparameter write fparameter;
Public property workingdirectory: filenamety read fworkingdirectory write fworkingdirectory;
Public property params: tmsestringdatalist read fparams write setparams;
Public property envvars: tmsestringdatalist read fenvvars write setenvvars;
Public property active: boolean read getactive write setactive default false;
Public property options: processoptionsty read foptions write setoptions default defaultprocessoptions;
Public property pipewaitus: integer read fpipewaitus write fpipewaitus default defaultpipewaitus;
Public property statfile: tstatfile read fstatfile write setstatfile;
Public property statvarname: msestring read getstatvarname write fstatvarname;
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
Public property input: tpipewriterpers read finput write setinput;
Public property output: tpipereaderpers read foutput write setoutput;
Public property erroroutput: tpipereaderpers read ferroroutput write seterroroutput;
Public property onprocfinished: notifyeventty read fonprocfinished write fonprocfinished;
Public property oncheckabort: updatebooleaneventty read foncheckabort write foncheckabort;

Description

Fields

Protected foptions: processoptionsty;
 
Protected fstate: processstatesty;
 

Methods

Protected procedure setoptions(const avalue: processoptionsty) virtual;
 
Protected procedure setactive(const avalue: boolean); override;
 
Protected procedure loaded; override;
 
Protected procedure listen;
 
Protected procedure unlisten;
 
Protected procedure finalizeexec;
 
Protected procedure receiveevent(const event: tobjectevent); override;
 
Protected procedure waitforpipeeof;
 
Protected procedure doprocfinishedvirtual;
 
Protected procedure postprocessdied;
 
Protected procedure dostatread(const reader: tstatreader);
 
Protected procedure dostatwrite(const writer: tstatwriter);
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Protected procedure processdied(const aprochandle: prochandlety; const aexecresult: integer; const adata: pointer);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public function running: boolean;
 
Public procedure terminate;
 
Public procedure kill;
 
Public function waitforprocess: integer; overload;
 
Public function waitforprocess(const atimeoutus: integer): boolean; overload;
 

Properties

Public property commandline: msestring read getcommandline write setcommandline;
 
Public property prochandle: prochandlety read fprochandle;
 
Public property lastprochandle: prochandlety read flastprochandle;
 
Public property exitcode: integer read fexitcode;
 
Public property filename: filenamety read ffilename write ffilename;
 
Public property parameter: msestring read fparameter write fparameter;
 
Public property workingdirectory: filenamety read fworkingdirectory write fworkingdirectory;
 
Public property params: tmsestringdatalist read fparams write setparams;
 
Public property envvars: tmsestringdatalist read fenvvars write setenvvars;
 
Public property active: boolean read getactive write setactive default false;
 
Public property options: processoptionsty read foptions write setoptions default defaultprocessoptions;
 
Public property pipewaitus: integer read fpipewaitus write fpipewaitus default defaultpipewaitus;
 
Public property statfile: tstatfile read fstatfile write setstatfile;
 
Public property statvarname: msestring read getstatvarname write fstatvarname;
 
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
 
Public property input: tpipewriterpers read finput write setinput;
 
Public property output: tpipereaderpers read foutput write setoutput;
 
Public property erroroutput: tpipereaderpers read ferroroutput write seterroroutput;
 
Public property onprocfinished: notifyeventty read fonprocfinished write fonprocfinished;
 
Public property oncheckabort: updatebooleaneventty read foncheckabort write foncheckabort;
 

Generated by PasDoc 0.16.0.