Now you can download a copy of these docs so you can use them offline! Download now
FDIOStream.h
1 /*
2  * FDIOStream.h
3  *
4  * Created on: Sep 27, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef FDIOSTREAM_H_
9 #define FDIOSTREAM_H_
10 
11 
12 
13 class FDIOStream;
14 
15 
16 #include "networktables2/stream/IOStream.h"
17 #include <stdio.h>
18 
19 
20 
21 class FDIOStream : public IOStream{
22 private:
23  //FILE* f;
24  int fd;
25 public:
26  FDIOStream(int fd);
27  virtual ~FDIOStream();
28  int read(void* ptr, int numbytes);
29  int write(const void* ptr, int numbytes);
30  void flush();
31  void close();
32 };
33 
34 
35 
36 #endif /* FDIOSTREAM_H_ */

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