Go to the documentation of this file.
147 virtual const char*
what()
const throw() {
return "PipeError: error opening pipe\n";}
241 ssize_t
read(
char* buf,
size_t max_num);
275 ssize_t
write(
const char* str);
295 ssize_t
write(
const char* buf,
size_t num);
Definition: application.h:44
void release()
Definition: pipes.h:590
@ block
Definition: pipes.h:152
SyncPipe()
Definition: pipes.h:608
Fifo_mode
Definition: pipes.h:152
int make_write_non_block()
~PipeFifo()
Definition: pipes.h:553
ssize_t write(const char *str)
@ non_block
Definition: pipes.h:152
A wrapper for unix anonymous pipes.
Definition: pipes.h:150
void open(Fifo_mode mode)
#define CGU_GLIB_MEMORY_SLICES_FUNCS
Definition: cgu_config.h:84
int get_read_fd() const
Definition: pipes.h:380
A class which uses an anonymous pipe to synchronise between processes.
Definition: pipes.h:579
int get_write_fd() const
Definition: pipes.h:395
virtual const char * what() const
Definition: pipes.h:147
~SyncPipe()
Definition: pipes.h:613
PipeFifo & operator=(const PipeFifo &)=delete
int write(char item)
Definition: pipes.h:308