Now you can download a copy of these docs so you can use them offline! Download now
IOStream.h
1 /*
2  * IOStream.h
3  *
4  * Created on: Sep 27, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef IOSTREAM_H_
9 #define IOSTREAM_H_
10 
11 class IOStream;
12 
13 class IOStream
14 {
15 public:
16  virtual ~IOStream()
17  {
18  }
19  virtual int read(void* ptr, int numbytes) = 0;
20  virtual int write(const void* ptr, int numbytes) = 0;
21  virtual void flush() = 0;
22  virtual void close() = 0;
23 };
24 
25 #endif /* IOSTREAM_H_ */

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6