InputStream.h

00001 /*-----------------------------------------------------------------------------
00002  * InputStream declaration
00003  * Ionetrics 2006
00004  * John Williams
00005  * InputStream.h
00006  *---------------------------------------------------------------------------*/
00007 
00008 #ifndef INPUTSTREAM_H
00009 #define INPUTSTREAM_H
00010 
00011 //-----------------------------------------------------------------------------
00012 
00013 #include "AnnotatorCommApi.h"
00014 #include "IOException.h"
00015 
00016 //-----------------------------------------------------------------------------
00017 
00018 namespace annotatorcomm
00019 {
00020 
00024 class ANNCOMM_API InputStream
00025 {
00026 public:
00033         virtual uint32_t available() throw(IOException) = 0;
00034         
00041         virtual int32_t read() throw(IOException) = 0;
00042         
00053         virtual uint32_t read(uint8_t* buffer, uint32_t offset, uint32_t length) throw(IOException) = 0;
00054 };
00055 
00056 }
00057 
00058 //-----------------------------------------------------------------------------
00059 
00060 #endif /* INPUTSTREAM_H */

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