events.h
来自「行人模拟」· C头文件 代码 · 共 31 行
H
31 行
//// pedsim - A microscopic pedestrian simulation system. // Copyright (c) 2003 - 2004 by Christian Gloor// // You can redistribute and/or modify this program under the terms of// the GNU General Public License. See copying.txt for details.// #ifndef _events_h_ #define _events_h_ 1using namespace std;//#include <netdb.h> // gethostbyname()#include <iostream> // cout ...#include <string> // strncpy#include <map> // maps class Tevent { int tcpSocket; int port; public: Tevent(char *replicator); int tcpsend(char *s, int len); void send_position(long time, int id, int type, double x, double y);};//void event_start(const char *tag, map<string,string> *attr);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?