2005/5/9

     
 

class PipedWriter

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::PipedWriter Class Reference

#include <PipedWriter.h>

Inheritance diagram for acdk::io::PipedWriter:

acdk::io::AbstractStorageWriter acdk::io::AbstractWriter acdk::io::Storage acdk::lang::Object acdk::io::Writer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

A create a Reader end of a pipe construct.

API: ACDK<br/>

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.13
Date:
Date
2005/04/09 19:26:45


Public Member Functions

 PipedWriter ()
 PipedWriter (IN(RPipedReader) out)
virtual void close ()
 implements from Writer

virtual void connect (IN(RPipedReader) out)
virtual void flush ()
 implements from Writer

virtual void write (byte c)
 implements from Writer

virtual void write (const byte *cstr, int offset, int len)
 implements from Writer

virtual void write (IN(RbyteArray) ch, int offset=0, int len=-1)
 implements from Writer

virtual RString getDeviceName ()
 implements from Storage

virtual bool isWriteable ()
 implements from Storage

virtual bool isReadable ()
 implements from Storage


Private Attributes

RPipedReader _out
bool _connected
bool _closed

Friends

class PipedReader


Constructor & Destructor Documentation

acdk::io::PipedWriter::PipedWriter  ) 
 

acdk::io::PipedWriter::PipedWriter IN(RPipedReader out  ) 
 


Member Function Documentation

virtual void acdk::io::PipedWriter::close  )  [virtual]
 

implements from Writer

Implements acdk::io::AbstractWriter.

virtual void acdk::io::PipedWriter::connect IN(RPipedReader out  )  [virtual]
 

virtual void acdk::io::PipedWriter::flush  )  [virtual]
 

implements from Writer

Implements acdk::io::AbstractWriter.

virtual RString acdk::io::PipedWriter::getDeviceName  )  [virtual]
 

implements from Storage

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::PipedWriter::isReadable  )  [virtual]
 

implements from Storage

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::PipedWriter::isWriteable  )  [virtual]
 

implements from Storage

Implements acdk::io::AbstractStorageWriter.

virtual void acdk::io::PipedWriter::write IN(RbyteArray ch,
int  offset = 0,
int  len = -1
[inline, virtual]
 

implements from Writer

Reimplemented from acdk::io::AbstractWriter.

virtual void acdk::io::PipedWriter::write const byte cstr,
int  offset,
int  len
[virtual]
 

implements from Writer

Reimplemented from acdk::io::AbstractWriter.

virtual void acdk::io::PipedWriter::write byte  c  )  [virtual]
 

implements from Writer

Implements acdk::io::AbstractWriter.


Friends And Related Function Documentation

friend class PipedReader [friend]
 


Member Data Documentation

bool acdk::io::PipedWriter::_closed [private]
 

bool acdk::io::PipedWriter::_connected [private]
 

RPipedReader acdk::io::PipedWriter::_out [private]