connect.h~

来自「底层robocup3d源码。 suse10.0 kdevelop 开发.」· H~ 代码 · 共 38 行

H~
38
字号
#ifndef MSPACEAGENTS_H#define MSPACEAGENTS_H#include <string>#include <sstream>#include <netinet/in.h>#include <stdio.h>#include <unistd.h>#include <iostream>#include <time.h>#include <sys/types.h>#include "worldmodel.h"#define  buffer_size  8192namespace MSpace {/**the main class for agent actions;@author root*/class Connect{public:    Connect();    void PutOutput(const char* out);    void PutOutputs(const std::string& str);    bool SelectInput();    bool GetInput();    char* GetMsg();    ~Connect();    int  MessageLength;private:     int  mReadFd ;     int  mWriteFd ;     char mBuffer[buffer_size];};}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?