Server.h
Go to the documentation of this file.
00001 #ifndef SERVER_H
00002 #define SERVER_H
00003 
00004 #include "RobotThread.h"
00005 #include <geometry_msgs/Point.h>
00006 #include <QObject>
00007 
00008 QT_BEGIN_NAMESPACE
00009 class QTcpServer;
00010 QT_END_NAMESPACE
00011 
00012 namespace server {
00013 
00014 #define PI 3.1415926535898
00015 
00016 class Server : public QObject {
00017     Q_OBJECT
00018 
00019 public:
00020     Server(int argc, char** argv, QObject* pParent = NULL);
00021     //~Server();
00022 
00023     void writeData();
00024 
00025 private Q_SLOTS:
00026         void NewClientConnection();
00027         void NewClientCommand();
00028 
00029 private:
00030     QTcpServer* m_pTcpServer;
00031 
00032     RobotThread m_RobotThread;
00033 };
00034 
00035 }//end namespace
00036 #endif


tcp_command
Author(s): Hunter Allen
autogenerated on Mon Oct 6 2014 08:35:12