Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::io::Pipe Class Reference

#include <jem/io/Pipe.h>

Inheritance diagram for jem::io::Pipe:
Inheritance graph

Public Types

typedef Pipe Self
 
typedef Object Super
 

Public Member Functions

 Pipe (idx_t bufsize=1024)
 
void addReader ()
 
void addWriter ()
 
void deleteReader ()
 
void deleteWriter ()
 
idx_t poll (const Time &timeout)
 
idx_t read (void *buf, idx_t n)
 
void write (const void *buf, idx_t n)
 
void writeNoThrow (const void *buf, idx_t n)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~Pipe ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

jem::io::Pipe::Pipe ( idx_t  bufsize = 1024)
explicit
virtual jem::io::Pipe::~Pipe ( )
protectedvirtual

Member Function Documentation

void jem::io::Pipe::addReader ( )
void jem::io::Pipe::addWriter ( )
void jem::io::Pipe::deleteReader ( )
void jem::io::Pipe::deleteWriter ( )
idx_t jem::io::Pipe::poll ( const Time timeout)
idx_t jem::io::Pipe::read ( void *  buf,
idx_t  n 
)
void jem::io::Pipe::write ( const void *  buf,
idx_t  n 
)
void jem::io::Pipe::writeNoThrow ( const void *  buf,
idx_t  n 
)