]>
Commit | Line | Data |
---|---|---|
eafc087e GL |
1 | \section{\class{wxProcess}}\label{wxprocess} |
2 | ||
3 | This class contains a method which is invoked when a process finishes. | |
4 | It can raise a \helpref{wxProcessEvent}{wxprocessevent} if wxProcess::OnTerminate | |
5 | isn't overriden. | |
6 | ||
7 | \wxheading{Derived from} | |
8 | ||
9 | \helpref{wxEvtHandler}{wxevthandler} | |
10 | ||
954b8ae6 JS |
11 | \wxheading{Include files} |
12 | ||
13 | <wx/process.h> | |
14 | ||
eafc087e GL |
15 | \latexignore{\rtfignore{\wxheading{Members}}} |
16 | ||
17 | \membersection{wxProcess::wxProcess}\label{wxprocessconstr} | |
18 | ||
19 | \func{}{wxProcess}{\param{wxEvtHandler *}{ parent = NULL}, \param{int}{ id = -1}} | |
20 | ||
21 | Constructs a process object. {\it id} is only used in the case you want to | |
3972fb49 JS |
22 | use wxWindows events. It identifies this object, or another window that will |
23 | receive the event. | |
eafc087e GL |
24 | |
25 | \wxheading{Parameters} | |
26 | ||
27 | \docparam{parent}{The event handler parent.} | |
28 | ||
29 | \docparam{id}{id of an event.} | |
30 | ||
31 | \membersection{wxProcess::\destruct{wxProcess}} | |
32 | ||
33 | \func{}{\destruct{wxProcess}}{\void} | |
34 | ||
35 | Destroys the wxProcess object. | |
36 | ||
37 | \membersection{wxProcess::OnTerminate}\label{wxprocessonterminate} | |
38 | ||
39 | \constfunc{void}{OnTerminate}{\param{int}{ pid}} | |
40 | ||
41 | It is called when the process with the pid {\it pid} finishes. | |
42 | It raises a wxWindows event when it isn't overriden. | |
43 | ||
44 | \docparam{pid}{The pid of the process which ends.} | |
3972fb49 | 45 |