GNU Radio 3.7.1 C++ API
|
A graphical sink to display freq, spec, and time. More...
#include <sink_f.h>
Public Types | |
typedef boost::shared_ptr< sink_f > | 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 floating point qtgui sink. | |
Public Attributes | |
QApplication * | d_qApplication |
A graphical sink to display freq, spec, and time.
This is a QT-based graphical sink the takes a float stream and plots it. The default action is to plot the signal as a PSD (FFT), spectrogram (waterfall), and time domain plots. The plots may be turned off by setting the appropriate boolean value in the constructor to False.
virtual void gr::qtgui::sink_f::exec_ | ( | ) | [pure virtual] |
virtual int gr::qtgui::sink_f::fft_size | ( | ) | const [pure virtual] |
static sptr gr::qtgui::sink_f::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 floating point 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_f::pyqwidget | ( | ) | [pure virtual] |
virtual void gr::qtgui::sink_f::set_fft_power_db | ( | double | min, |
double | max | ||
) | [pure virtual] |
virtual void gr::qtgui::sink_f::set_fft_size | ( | const int | fftsize | ) | [pure virtual] |
virtual void gr::qtgui::sink_f::set_frequency_range | ( | const double | centerfreq, |
const double | bandwidth | ||
) | [pure virtual] |
virtual void gr::qtgui::sink_f::set_update_time | ( | double | t | ) | [pure virtual] |
QApplication* gr::qtgui::sink_f::d_qApplication |