AnnotatorComm::OutputStream Class Reference

#include <OutputStream.h>

Inheritance diagram for AnnotatorComm::OutputStream:

AnnotatorComm::FTD2XX::FTD2XXOutputStream List of all members.

Public Member Functions

virtual void write (uint8_t data)=0 throw (IOException)
virtual void write (uint8_t *buffer, uint32_t offset, uint32_t length)=0 throw (IOException)
virtual void flush ()=0 throw (IOException)

Detailed Description

OutputStream is an abstract class to a output stream of bytes.

Definition at line 24 of file OutputStream.h.


Member Function Documentation

virtual void AnnotatorComm::OutputStream::flush (  )  throw (IOException) [pure virtual]

Flush buffered bytes out of the stream.

Exceptions:
IOException failure to flush

Implemented in AnnotatorComm::FTD2XX::FTD2XXOutputStream.

virtual void AnnotatorComm::OutputStream::write ( uint8_t *  buffer,
uint32_t  offset,
uint32_t  length 
) throw (IOException) [pure virtual]

Write length bytes of buffer starting at offset to the stream.

Parameters:
buffer data to buffer
offset offset in buffer to start writing
length number of bytes to write
Exceptions:
IOException failure to write bytes

Implemented in AnnotatorComm::FTD2XX::FTD2XXOutputStream.

virtual void AnnotatorComm::OutputStream::write ( uint8_t  data  )  throw (IOException) [pure virtual]

Write a byte to the stream.

Parameters:
data byte of data to write
Exceptions:
IOException failure to write byte

Implemented in AnnotatorComm::FTD2XX::FTD2XXOutputStream.


The documentation for this class was generated from the following file:
Generated on Thu Jul 27 11:05:04 2006 for libAnnotatorComm by  doxygen 1.4.7