Main Page
Namespaces
Classes
Files
File List
File Members
src
ros_lib
WindowsSocket.h
Go to the documentation of this file.
1
26
#ifndef ROS_WINDOWS_SOCKET_H_
27
#define ROS_WINDOWS_SOCKET_H_
28
29
// forward declaration of the implementation class
30
// this class is defined in the implementation file to abstract all of the
31
// windows specific crud. It gets in the way of the ROS libraries.
32
class
WindowsSocketImpl
;
33
34
class
WindowsSocket
35
{
36
public
:
37
WindowsSocket
();
38
39
void
init
(
char
*server_hostname);
40
41
int
read
();
42
43
void
write
(
const
unsigned
char
*data,
int
length);
44
45
unsigned
long
time
();
46
47
private
:
48
WindowsSocketImpl
*
impl
;
49
};
50
51
#endif
WindowsSocket
Definition:
WindowsSocket.h:34
WindowsSocketImpl
Definition:
WindowsSocket.cpp:41
WindowsSocket::init
void init(char *server_hostname)
Definition:
WindowsSocket.cpp:206
WindowsSocket::impl
WindowsSocketImpl * impl
Definition:
WindowsSocket.h:48
WindowsSocket::read
int read()
Definition:
WindowsSocket.cpp:211
WindowsSocket::write
void write(const unsigned char *data, int length)
Definition:
WindowsSocket.cpp:216
WindowsSocket::time
unsigned long time()
Definition:
WindowsSocket.cpp:221
WindowsSocket::WindowsSocket
WindowsSocket()
Definition:
WindowsSocket.cpp:201
rosserial_windows
Author(s): Kareem Shehata
autogenerated on Fri Jun 7 2019 22:03:10