23 #ifndef __ccxx_Pipe_hxx 24 #define __ccxx_Pipe_hxx 104 #endif // __ccxx_Pipe_hxx void setBlocking(bool blocking)
Set the blocking state of the pipe.
Definition: Pipe.c++:112
A unidirectional stream pipe.
Definition: Pipe.h++:37
Pipe()
Constructor.
Definition: Pipe.c++:42
~Pipe()
Destructor.
Definition: Pipe.c++:50
void open()
Create and open the pipe.
Definition: Pipe.c++:58
bool isOpen() const
Test if the pipe is open.
Definition: Pipe.c++:104
int FileHandle
Definition: Common.h++:225
ssize_t write(const byte_t *buf, size_t count)
Write raw data to the write end of the pipe.
Definition: Pipe.c++:157
FileHandle getWriteDescriptor() const
Get the file descriptor for the write end of the pipe.
Definition: Pipe.h++:94
void close()
Close the pipe.
Definition: Pipe.c++:81
ssize_t read(byte_t *buf, size_t count)
Read raw data from the read end of the pipe.
Definition: Pipe.c++:136
FileHandle getReadDescriptor() const
Get the file descriptor for the read end of the pipe.
Definition: Pipe.h++:90
Definition: AllocationMap.c++:25
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68