connect.h
来自「底层robocup3d源码。 suse10.0 kdevelop 开发.」· C头文件 代码 · 共 37 行
H
37 行
#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>#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 + -
显示快捷键?