WPILibC++
trunk
Main Page
Related Pages
Classes
Files
File List
networktables2
stream
SocketStreamFactory.h
1
/*
2
* SocketStreamFactory.h
3
*
4
* Created on: Nov 3, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#ifndef SOCKETSTREAMFACTORY_H_
9
#define SOCKETSTREAMFACTORY_H_
10
11
class
SocketStreamFactory
;
12
13
#include "networktables2/stream/IOStreamFactory.h"
14
#include <string>
15
21
class
SocketStreamFactory
:
public
IOStreamFactory
{
22
private
:
23
const
char
* host;
24
const
int
port;
25
26
public
:
27
SocketStreamFactory
(
const
char
* host,
int
port);
28
virtual
~
SocketStreamFactory
();
29
30
IOStream
*
createStream
();
31
32
};
33
34
35
36
#endif
/* SOCKETSTREAMFACTORY_H_ */
SocketStreamFactory::createStream
IOStream * createStream()
Definition:
SocketStreamFactory.cpp:35
IOStream
Definition:
IOStream.h:13
SocketStreamFactory
Definition:
SocketStreamFactory.h:21
IOStreamFactory
Definition:
IOStreamFactory.h:19
Generated on Sat Apr 26 2014 12:26:59 for WPILibC++ by
1.8.6