A private implementation class used by G::NewProcess. More...
Public Member Functions | |
Pipe (bool active) | |
~Pipe () | |
void | inChild () |
void | inParent () |
int | fd () const |
void | dup () |
std::string | read () |
void | write (const std::string &) |
A private implementation class used by G::NewProcess.
Definition at line 55 of file gnewprocess_unix_exec_enabled.cpp.
|
explicit |
Definition at line 302 of file gnewprocess_unix_exec_enabled.cpp.
References G_DEBUG.
G::Pipe::~Pipe | ( | ) |
Definition at line 311 of file gnewprocess_unix_exec_enabled.cpp.
void G::Pipe::dup | ( | ) |
Definition at line 336 of file gnewprocess_unix_exec_enabled.cpp.
Referenced by G::NewProcess::spawn().
int G::Pipe::fd | ( | ) | const |
Definition at line 331 of file gnewprocess_unix_exec_enabled.cpp.
Referenced by G::NewProcess::spawn().
void G::Pipe::inChild | ( | ) |
Definition at line 317 of file gnewprocess_unix_exec_enabled.cpp.
Referenced by G::NewProcess::spawn().
void G::Pipe::inParent | ( | ) |
Definition at line 324 of file gnewprocess_unix_exec_enabled.cpp.
Referenced by G::NewProcess::spawn().
std::string G::Pipe::read | ( | ) |
Definition at line 349 of file gnewprocess_unix_exec_enabled.cpp.
References G::limits::pipe_buffer.
Referenced by G::NewProcess::spawn().
void G::Pipe::write | ( | const std::string & | ) |