iolink.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 40 行

H
40
字号
/*******************************************************************************//*  Project:        SOFTWARE RADIO - LCM Laboratoire de Communications Mobiles *//*  -------------------------------------------------------------------------- *//*  Filename:       IOLink.h                                                   *//*  Description:    Class representing an I/O link between two modules.        *//*  -------------------------------------------------------------------------- *//*  Date:           January 09 2003                                            *//*  Version:        v1.0                                                       *//*  Authors:        Braure Jerome, Ferreiro Jose                               *//*                  Communication Systems (9th semester) - EPFL                *//*******************************************************************************//*******************************************************************************//*  This program is free software; you can redistribute it and/or modify it    *//*  under the terms of the GNU General Public License as published by the Free *//*  Software Foundation; either version 2 of the License, or (at your option)  *//*  any later version.                                                         *//*******************************************************************************/#ifndef IOLINK_H#define IOLINK_Hclass IOLink {public:  IOLink() {}  ;  IOLink(int fromModule, int fromPort, int toModule, int toPort) {    this->fromModule = fromModule;    this->fromPort = fromPort;    this->toModule = toModule;    this->toPort = toPort;  };  int fromModule, fromPort, toModule, toPort;};#endif

⌨️ 快捷键说明

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