⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverplug.h

📁 软件无线电的平台
💻 H
字号:
/***************************************************************************                 ServerPlug.h  -  Interface to the channel-Server                            -------------------    begin                :  2003    authors              :  Linus Gasser    emails               :  linus.gasser@epfl.ch ***************************************************************************//***************************************************************************                                 Changes                                 ------- date - name - description 03/01/20 - ineiti - begin **************************************************************************//*************************************************************************** *                                                                         * *   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 SERVERPLUG_H__#define SERVERPLUG_H__#include <qwidget.h>#include <qvaluelist.h>#include <qfile.h>class ServerPlug : public QWidget {  Q_OBJECT    public:  // Initialises the ServerPlug with a given path  ServerPlug( QString path );  ~ServerPlug();  // Reads the number of channels  int getNbrChannels();    // Reads the maximal length of the filter  int getMaxFilterLength();  // Don't know why the ordinary flush doesn't work...  void flush();  // To send a command. The result string is given back.  QStringList sendCmd( QString send );  public slots:  // Sets the filter for a given channel  void setChannel( int index, QValueList<double> *h ); protected:  QTextStream *cmd, *result;  QFile *f_cmd, *f_result;};#endif

⌨️ 快捷键说明

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