00001
00002
00003
00004
00005
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