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

📄 plot.h

📁 This a framework to test new ideas in transmission technology. Actual development is a LDPC-coder in
💻 H
字号:
/*******************************************************************************//*  Project:        SOFTWARE RADIO - LCM Laboratoire de Communications Mobiles *//*  -------------------------------------------------------------------------- *//*  Filename:       plot.h                                                     *//*  Description:    Subclass of block. It keep the data to plot                *//*  -------------------------------------------------------------------------- *//*  Date:           April 7 2003                                               *//*  Version:        v1.0                                                       *//*  Authors:        Porchet Vincent                                            *//*                  Computer Science (6th 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 PLOT_H#define PLOT_H#include "block.h"#include <math.h>#include <qptrlist.h>#include <qobject.h>class realPoint { public:  realPoint(): x(0), y(0) {};  realPoint( double val_x, double val_y ) : x(val_x), y(val_y) {};  double x;  double y;};class Plot : public Block {  Q_OBJECTpublic:  Plot();  ~Plot();  int Len() {    return values.count();  };  virtual int Data(double **rx, double **ry, int rlength, 		   enum showType_e s_type);  void addPoint(double ax, double ay);  void setData(double *sx, double *sy, int slength);  QByteArray getData( );public slots:  void slotClear();private:  QPtrList<realPoint> values; };#endif

⌨️ 快捷键说明

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