Class tcustommseprocess

Unit

Declaration

type tcustommseprocess = class(tactcomponent, istatfile, iprocmonitor)

Description

This item has no description.

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;

This item has no description.

Protected fstate: processstatesty;

This item has no description.

Methods

Protected procedure setoptions(const avalue: processoptionsty) virtual;

This item has no description.

Protected procedure setactive(const avalue: boolean); override;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected procedure listen;

This item has no description.

Protected procedure unlisten;

This item has no description.

Protected procedure finalizeexec;

This item has no description.

Protected procedure receiveevent(const event: tobjectevent); override;

This item has no description.

Protected procedure waitforpipeeof;

This item has no description.

Protected procedure doprocfinishedvirtual;

This item has no description.

Protected procedure postprocessdied;

This item has no description.

Protected procedure dostatread(const reader: tstatreader);

This item has no description.

Protected procedure dostatwrite(const writer: tstatwriter);

This item has no description.

Protected procedure statreading;

This item has no description.

Protected procedure statread;

This item has no description.

Protected function getstatvarname: msestring;

This item has no description.

Protected function getstatpriority: integer;

This item has no description.

Protected procedure processdied(const aprochandle: prochandlety; const aexecresult: integer; const adata: pointer);

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public function running: boolean;

This item has no description.

Public procedure terminate;

This item has no description.

Public procedure kill;

This item has no description.

Public function waitforprocess: integer; overload;

This item has no description.

Public function waitforprocess(const atimeoutus: integer): boolean; overload;

This item has no description.

Properties

Public property commandline: msestring read getcommandline write setcommandline;

This item has no description.

Public property prochandle: prochandlety read fprochandle;

This item has no description.

Public property lastprochandle: prochandlety read flastprochandle;

This item has no description.

Public property exitcode: integer read fexitcode;

This item has no description.

Public property filename: filenamety read ffilename write ffilename;

This item has no description.

Public property parameter: msestring read fparameter write fparameter;

This item has no description.

Public property workingdirectory: filenamety read fworkingdirectory write fworkingdirectory;

This item has no description.

Public property params: tmsestringdatalist read fparams write setparams;

This item has no description.

Public property envvars: tmsestringdatalist read fenvvars write setenvvars;

This item has no description.

Public property active: boolean read getactive write setactive default false;

This item has no description.

Public property options: processoptionsty read foptions write setoptions default defaultprocessoptions;

This item has no description.

Public property pipewaitus: integer read fpipewaitus write fpipewaitus default defaultpipewaitus;

This item has no description.

Public property statfile: tstatfile read fstatfile write setstatfile;

This item has no description.

Public property statvarname: msestring read getstatvarname write fstatvarname;

This item has no description.

Public property statpriority: integer read fstatpriority write fstatpriority default 0;

This item has no description.

Public property input: tpipewriterpers read finput write setinput;

This item has no description.

Public property output: tpipereaderpers read foutput write setoutput;

This item has no description.

Public property erroroutput: tpipereaderpers read ferroroutput write seterroroutput;

This item has no description.

Public property onprocfinished: notifyeventty read fonprocfinished write fonprocfinished;

This item has no description.

Public property oncheckabort: updatebooleaneventty read foncheckabort write foncheckabort;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.