Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::ProcessIO Class Reference
[Core library]

Child process I/O device. More...

#include <pprocess.h>

Inheritance diagram for P::ProcessIO:

P::IODevice List of all members.

Public Member Functions

void close () throw (IOError)
 Close pipe's to child process.

size_t write (const char *buffer, size_t count) throw (IOError)
 Write to process stdin.

size_t read (char *buffer, size_t count) throw (IOError)
 Read from process stdout.

size_t readErr (char *buffer, size_t count) throw (IOError)
 Read from process stderr.


Protected Member Functions

 ProcessIO (io_handle_t in, io_handle_t out, io_handle_t err) throw ()
 ~ProcessIO () throw ()

Friends

class Process

Detailed Description

Child process I/O device.

Todo:
ProcessIO Win32 implementation
Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 37 of file pprocess.h.


Constructor & Destructor Documentation

P::ProcessIO::ProcessIO io_handle_t  in,
io_handle_t  out,
io_handle_t  err
throw () [protected]
 

P::ProcessIO::~ProcessIO  )  throw () [protected]
 


Member Function Documentation

void P::ProcessIO::close  )  throw (IOError) [virtual]
 

Close pipe's to child process.

Reimplemented from P::IODevice.

size_t P::ProcessIO::read char *  buffer,
size_t  count
throw (IOError) [virtual]
 

Read from process stdout.

Reimplemented from P::IODevice.

size_t P::ProcessIO::readErr char *  buffer,
size_t  count
throw (IOError)
 

Read from process stderr.

size_t P::ProcessIO::write const char *  buffer,
size_t  count
throw (IOError) [virtual]
 

Write to process stdin.

Reimplemented from P::IODevice.


Friends And Related Function Documentation

friend class Process [friend]
 

Definition at line 38 of file pprocess.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:35 2004 for P::Classes by doxygen 1.3.3