Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jem::mp::OutputChannel Class Reference

#include <jem/mp/OutputChannel.h>

Inheritance diagram for jem::mp::OutputChannel:
Inheritance graph

Public Member Functions

 OutputChannel (idx_t bufsize=-1)
 
void open (const Port &port)
 
virtual void close ()
 
virtual idx_t poll ()
 
virtual void flush ()
 
virtual void write (const void *buf, idx_t n)
 
virtual void writeNoThrow (const void *buf, idx_t n)
 
- Public Member Functions inherited from jem::io::OutputStream
virtual Ref< OutputStreamdup ()
 
- 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 ~OutputChannel ()
 
- Protected Member Functions inherited from jem::io::OutputStream
virtual ~OutputStream ()
 
- 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...
 

Constructor & Destructor Documentation

jem::mp::OutputChannel::OutputChannel ( idx_t  bufsize = -1)
explicit
virtual jem::mp::OutputChannel::~OutputChannel ( )
protectedvirtual

Member Function Documentation

void jem::mp::OutputChannel::open ( const Port port)
virtual void jem::mp::OutputChannel::close ( )
virtual

Reimplemented from jem::io::OutputStream.

virtual idx_t jem::mp::OutputChannel::poll ( )
virtual
virtual void jem::mp::OutputChannel::flush ( )
virtual

Reimplemented from jem::io::OutputStream.

virtual void jem::mp::OutputChannel::write ( const void *  buf,
idx_t  n 
)
virtual

Implements jem::io::OutputStream.

virtual void jem::mp::OutputChannel::writeNoThrow ( const void *  buf,
idx_t  n 
)
virtual

Reimplemented from jem::io::OutputStream.