Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
networktables2
stream
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_ */
IOStream
Definition:
IOStream.h:13
FDIOStream
Definition:
FDIOStream.h:21
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.