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

#include <jem/mp/BcastStream.h>

Inheritance diagram for jem::mp::BcastStream:
Inheritance graph

Public Types

typedef io::InputStream Input
 

Public Member Functions

 BcastStream (int root, const Ref< Context > &ctx, const Ref< Input > &in, idx_t bufsize=-1)
 
virtual void close ()
 
virtual idx_t poll (const Time &timeout)
 
virtual idx_t read (void *buf, idx_t n)
 
- Public Member Functions inherited from jem::io::InputStream
virtual Ref< InputStreamdup ()
 
virtual idx_t skip (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...
 

Static Public Member Functions

static Ref< Self > open (int root, const Ref< Context > &ctx, const String &fname, int flags=0, idx_t bufsize=-1)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Protected Member Functions

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

Member Typedef Documentation

Constructor & Destructor Documentation

jem::mp::BcastStream::BcastStream ( int  root,
const Ref< Context > &  ctx,
const Ref< Input > &  in,
idx_t  bufsize = -1 
)
virtual jem::mp::BcastStream::~BcastStream ( )
protectedvirtual

Member Function Documentation

static Ref<Self> jem::mp::BcastStream::open ( int  root,
const Ref< Context > &  ctx,
const String fname,
int  flags = 0,
idx_t  bufsize = -1 
)
static
virtual void jem::mp::BcastStream::close ( )
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::mp::BcastStream::poll ( const Time timeout)
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::mp::BcastStream::read ( void *  buf,
idx_t  n 
)
virtual

Implements jem::io::InputStream.