GATE
gate::io::Pipe Class Reference

Public Types

enum  OpenModeEnum { OpenMode_Create = GATE_PIPE_FLAG_CREATE , OpenMode_Read = GATE_PIPE_FLAG_READ , OpenMode_Write = GATE_PIPE_FLAG_WRITE }
 

Public Member Functions

 Pipe (String &name, OpenModeEnum mode)
 
 Pipe (Pipe const &pipe)
 
 Pipe (gate_pipe_t import_read_pipe, gate_pipe_t import_write_pipe)
 
Pipeoperator= (Pipe const &src)
 
gate_pipe_t const * c_impl () const noexcept
 
gate_pipe_t const * c_impl_read () const noexcept
 
gate_pipe_t const * c_impl_write () const noexcept
 
bool_t canRead () const
 
bool_t canWrite () const
 
size_t read (char *buffer, size_t bufferlen)
 
size_t write (char const *buffer, size_t bufferlen)
 
String exportRead () const
 
String exportWrite () const
 

Static Public Attributes

static gate_pipe_t const Invalid = gate_pipe_invalid
 

The documentation for this class was generated from the following files: