wibble 1.1
|
#include <pipe.h>
Classes | |
struct | Writer |
Public Types | |
typedef std::deque< char > | Buffer |
Public Member Functions | |
Pipe (int p) | |
Pipe () | |
void | write (std::string what) |
void | close () |
bool | valid () |
bool | active () |
bool | eof () |
int | readMore () |
std::string | nextChunk () |
std::string | nextLine () |
void | wait () |
std::string | nextLineBlocking () |
Static Public Member Functions | |
static bool | blocking (int err) |
Public Attributes | |
Buffer | buffer |
int | fd |
bool | _eof |
Writer | writer |
typedef std::deque< char > wibble::sys::Pipe::Buffer |
|
inline |
Referenced by wibble::sys::Pipe::Writer::main(), and readMore().
|
inline |
References wibble::sys::Pipe::Writer::close, close(), fd, wibble::sys::Pipe::Writer::mutex, wibble::sys::Pipe::Writer::running, and writer.
Referenced by close().
|
inline |
References _eof.
Referenced by active(), nextLineBlocking(), wibble::sys::PipeThrough::run(), and wait().
|
inline |
References buffer.
Referenced by wibble::sys::PipeThrough::run().
|
inline |
References assert, buffer, readMore(), and valid().
Referenced by nextLineBlocking().
|
inline |
References assert, buffer, eof(), nextLine(), valid(), and wait().
Referenced by Main::waitForAck().
|
inline |
References _eof, assert, blocking(), buffer, fd, and valid().
Referenced by nextLine(), and wait().
|
inline |
References fd.
Referenced by active(), nextLine(), nextLineBlocking(), readMore(), and wait().
|
inline |
References assert, buffer, eof(), fd, readMore(), wibble::sys::sleep(), and valid().
Referenced by nextLineBlocking(), and wibble::sys::PipeThrough::run().
|
inline |
References fd, wibble::sys::Pipe::Writer::run(), and writer.
Referenced by wibble::sys::Pipe::Writer::main().
bool wibble::sys::Pipe::_eof |
Referenced by eof(), and readMore().
Buffer wibble::sys::Pipe::buffer |
Referenced by nextChunk(), nextLine(), nextLineBlocking(), readMore(), and wait().