#include <WOKNT_MixedOutput.hxx>
Inheritance diagram for WOKNT_MixedOutput:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | WOKNT_MixedOutput () |
creates a class instance | |
virtual Standard_EXPORT void | Cleanup () |
dummy method to be used in derived class | |
~WOKNT_MixedOutput () | |
Standard_EXPORT Standard_Integer | OpenStdOut () |
creates a pipe for reading a standard output of sub-process and returns a pipe handle. Warning: returns INVALID_HANDLE_VALUE in case of failure | |
Standard_EXPORT void | CloseStdOut () |
closes write end of the 'STDOUT' pipe | |
virtual Standard_EXPORT Standard_Integer | OpenStdErr () |
creates a pipe for reading a standard error output of sub-process and returns a pipe handle Warning: this method is simply calling 'OpenStdOut' method | |
virtual Standard_EXPORT void | CloseStdErr () |
closes write end of the 'STDERR' pipe Warning: this method is simply calling 'CloseStdOut' method | |
virtual Standard_EXPORT void | Clear () |
clears output buffer of sub-process | |
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString | Echo () |
returns standard output of sub-process Warning: returns NULL object if there is nothing to read | |
virtual Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString | Errors () |
returns standard error output of sub-process Warning: this method is simply calling 'Echo' method | |
Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString | SyncStdOut () |
waits for sub-process termination ( until the write end of pipe will be closed ). Warning: write end of pipe MUST BE CLOSED by parent process immediately after creation of the child process else this method will NEVER return. Use ONLY 'CloseStdOut' method for this purpose. | |
virtual Standard_EXPORT Handle_TColStd_HSequenceOfHAsciiString | SyncStdErr () |
same as 'SyncStdOut' method Warning: use 'CloseStdErr' method to close write end of pipe | |
Protected Attributes | |
Standard_Integer | myOutHandle |
Handle_TColStd_HSequenceOfHAsciiString | myStdOut |
|
|
|
|
|
Reimplemented from WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. |
|
Implements WOKNT_ShellOutput. |
|
Implements WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. |
|
Reimplemented from WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Reimplemented from WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Reimplemented from WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. Reimplemented in WOKNT_OutErrOutput. |
|
Implements WOKNT_ShellOutput. |
|
|
|
|