OutputStream.h

00001 /*-----------------------------------------------------------------------------
00002  * OutputStream declaration
00003  * Ionetrics 2006
00004  * John Williams
00005  * OutputStream.h
00006  *---------------------------------------------------------------------------*/
00007 
00008 #ifndef OUTPUTSTREAM_H
00009 #define OUTPUTSTREAM_H
00010 
00011 //-----------------------------------------------------------------------------
00012 
00013 #include "AnnotatorCommApi.h"
00014 #include "IOException.h"
00015 
00016 //-----------------------------------------------------------------------------
00017 
00018 namespace annotatorcomm
00019 {
00020 
00024 class ANNCOMM_API OutputStream
00025 {
00026 public:
00033         virtual void write(uint8_t data) throw(IOException) = 0;
00034         
00044         virtual void write(uint8_t* buffer, uint32_t offset, uint32_t length) throw(IOException) = 0;
00045         
00051         virtual void flush() throw(IOException) = 0;
00052 };
00053 
00054 }
00055 
00056 //-----------------------------------------------------------------------------
00057 
00058 #endif /* OUTPUTSTREAM_H */

Generated on Tue Aug 1 11:14:11 2006 for libAnnotatorComm by  doxygen 1.4.7