Inheritance diagram for Pipe:

Public Member Functions | |
| void | close () |
| void | closeRead () |
| void | closeWrite () |
| int | create (bool readPipe=true) |
| long | getReadHandle () |
| long | getWriteHandle () |
| void | inverted (Pipe &) |
| Pipe () | |
| bool | pipeTerminated () |
| virtual int | read (char *buffer, u_long len, u_long *nbr) |
| virtual int | write (const char *buffer, u_long len, u_long *nbw) |
Private Attributes | |
| int | handles [2] |
| bool | terminated |
|
|
|
|
|
Close the pipe. |
|
|
Close the read stream of the pipe. |
|
|
Close the write stream of the pipe. |
|
|
Create the pipe descriptors. Return 0 on success.
|
|
|
Get the handle to use to read from the pipe. |
|
|
Get the handle used to write to the pipe. |
|
|
Invert the current pipe on another instance of the class. The input will be used as output and viceversa.
|
|
|
|
|
||||||||||||||||
|
Read from the pipe.
Reimplemented from Stream. |
|
||||||||||||||||
|
Write from the pipe.
Reimplemented from Stream. |
|
|
|
|
|
|
1.3.9.1