11 #ifndef INCLUDED_QTGUI_SINK_C_H
12 #define INCLUDED_QTGUI_SINK_C_H
16 #include <qapplication.h>
17 #include <qwt_legend.h>
58 typedef std::shared_ptr<sink_c>
sptr;
78 const std::string& name,
83 QWidget* parent =
nullptr);
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
A graphical sink to display freq, spec, time, and const plots.
Definition: sink_c.h:55
virtual int fft_size() const =0
std::shared_ptr< sink_c > sptr
Definition: sink_c.h:58
virtual void set_update_time(double t)=0
virtual void set_fft_size(const int fftsize)=0
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=nullptr)
Build a complex qtgui sink.
virtual void enable_rf_freq(bool en)=0
virtual void set_fft_power_db(double min, double max)=0
virtual void set_frequency_range(const double centerfreq, const double bandwidth)=0
QApplication * d_qApplication
Definition: sink_c.h:97
virtual QWidget * qwidget()=0
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
float min(float a, float b)
GNU Radio logging wrapper.
Definition: basic_block.h:29