#include <pipe.h>
Public Types | |
| typedef std::deque< char > | Buffer |
Public Member Functions | |
| Pipe (int p) | |
| Pipe () | |
| void | write (std::string what) |
| void | close () |
| bool | active () |
| bool | eof () |
| int | readMore () |
| std::string | nextLine () |
| std::string | nextLineBlocking () |
Public Attributes | |
| Buffer | buffer |
| int | fd |
| bool | _eof |
| typedef std::deque< char > wibble::sys::Pipe::Buffer |
| wibble::sys::Pipe::Pipe | ( | int | p | ) | [inline] |
References fd.
| wibble::sys::Pipe::Pipe | ( | ) | [inline] |
| void wibble::sys::Pipe::close | ( | ) | [inline] |
References fd.
| bool wibble::sys::Pipe::eof | ( | ) | [inline] |
References _eof.
Referenced by nextLineBlocking(), and Main::parent().
| std::string wibble::sys::Pipe::nextLine | ( | ) | [inline] |
References buffer, wibble::iterator(), and readMore().
Referenced by nextLineBlocking().
| std::string wibble::sys::Pipe::nextLineBlocking | ( | ) | [inline] |
References eof(), fd, and nextLine().
Referenced by Main::parent(), and Main::waitForAck().
| int wibble::sys::Pipe::readMore | ( | ) | [inline] |
References _eof, buffer, and fd.
Referenced by nextLine().
| void wibble::sys::Pipe::write | ( | std::string | what | ) | [inline] |
References fd.
Referenced by active(), eof(), and readMore().
Referenced by nextLine(), and readMore().
Referenced by active(), close(), nextLineBlocking(), Pipe(), readMore(), and write().
1.6.1