WindowsSocket.h
Go to the documentation of this file.
00001 
00026 #ifndef ROS_WINDOWS_SOCKET_H_
00027 #define ROS_WINDOWS_SOCKET_H_
00028 
00029 // forward declaration of the implementation class
00030 // this class is defined in the implementation file to abstract all of the 
00031 // windows specific crud. It gets in the way of the ROS libraries.
00032 class WindowsSocketImpl;
00033 
00034 class WindowsSocket
00035 {
00036 public:
00037   WindowsSocket ();
00038 
00039   void init (char *server_hostname);
00040 
00041   int read ();
00042 
00043   void write (const unsigned char *data, int length);
00044 
00045   unsigned long time ();
00046 
00047 private:
00048     WindowsSocketImpl * impl;
00049 };
00050 
00051 #endif


rosserial_windows
Author(s): Kareem Shehata
autogenerated on Fri Aug 28 2015 12:44:58