Anonymous pipe for inter-process communication. More...
#include <libppbase/base/Pipe.h>
Public Types | |
enum | { pipeInbound = 1, pipeOutbound = 2, pipeDuplex = 3, pipeOverlapped = 4 } |
Pipe modes. More... | |
Public Member Functions | |
Pipe () | |
Creates an empty object. | |
~Pipe () | |
Destructor. | |
void | close () |
Closes (deletes) the pipe pair. | |
void | create (int mode) |
Creates a pipe pair. | |
File * | getLocalEnd () |
Gets the local end of the pipe. | |
File * | getRemoteEnd () |
Gets the remote end of the pipe. |
Anonymous pipe for inter-process communication.
anonymous enum |
Pipe modes.
void base::Pipe::create | ( | int | mode | ) |
Creates a pipe pair.
mode | give pipe mode (pipeInbound, pipeOutbound or pipeDuplex) |
File* base::Pipe::getLocalEnd | ( | ) |
Gets the local end of the pipe.
File* base::Pipe::getRemoteEnd | ( | ) |
Gets the remote end of the pipe.