|
GNU Radio 3.7.1 C++ API
|
A graphical sink to display freq, spec, time, and const plots. More...
#include <sink_c.h>

Public Types | |
| typedef boost::shared_ptr< sink_c > | sptr |
Public Member Functions | |
| virtual void | exec_ ()=0 |
| virtual PyObject * | pyqwidget ()=0 |
| virtual void | set_fft_size (const int fftsize)=0 |
| virtual int | fft_size () const =0 |
| virtual void | set_frequency_range (const double centerfreq, const double bandwidth)=0 |
| virtual void | set_fft_power_db (double min, double max)=0 |
| virtual void | set_update_time (double t)=0 |
Static Public Member Functions | |
| static sptr | make (int fftsize, int wintype, double fc, double bw, const std::string &name, bool plotfreq, bool plotwaterfall, bool plottime, bool plotconst, QWidget *parent=NULL) |
| Build a complex qtgui sink. | |
Public Attributes | |
| QApplication * | d_qApplication |
A graphical sink to display freq, spec, time, and const plots.
This is a QT-based graphical sink the takes a complex stream and plots it. The default action is to plot the signal as a PSD (FFT), spectrogram (waterfall), time domain I&Q, and constellation (I vs. Q) plots. The plots may be turned off by setting the appropriate boolean value in the constructor to False.
| virtual void gr::qtgui::sink_c::exec_ | ( | ) | [pure virtual] |
| virtual int gr::qtgui::sink_c::fft_size | ( | ) | const [pure virtual] |
| static sptr gr::qtgui::sink_c::make | ( | int | fftsize, |
| int | wintype, | ||
| double | fc, | ||
| double | bw, | ||
| const std::string & | name, | ||
| bool | plotfreq, | ||
| bool | plotwaterfall, | ||
| bool | plottime, | ||
| bool | plotconst, | ||
| QWidget * | parent = NULL |
||
| ) | [static] |
Build a complex qtgui sink.
| fftsize | size of the FFT to compute and display |
| wintype | type of window to apply (see gnuradio/filter/firdes.h) |
| fc | center frequency of signal (use for x-axis labels) |
| bw | bandwidth of signal (used to set x-axis labels) |
| name | title for the plot |
| plotfreq | Toggle frequency plot on/off |
| plotwaterfall | Toggle waterfall plot on/off |
| plottime | Toggle time plot on/off |
| plotconst | Toggle constellation plot on/off |
| parent | a QWidget parent object, if any |
| virtual PyObject* gr::qtgui::sink_c::pyqwidget | ( | ) | [pure virtual] |
| virtual void gr::qtgui::sink_c::set_fft_power_db | ( | double | min, |
| double | max | ||
| ) | [pure virtual] |
| virtual void gr::qtgui::sink_c::set_fft_size | ( | const int | fftsize | ) | [pure virtual] |
| virtual void gr::qtgui::sink_c::set_frequency_range | ( | const double | centerfreq, |
| const double | bandwidth | ||
| ) | [pure virtual] |
| virtual void gr::qtgui::sink_c::set_update_time | ( | double | t | ) | [pure virtual] |
| QApplication* gr::qtgui::sink_c::d_qApplication |