23 #ifndef INCLUDED_QTGUI_SINK_C_H
24 #define INCLUDED_QTGUI_SINK_C_H
32 #include <qapplication.h>
33 #include <qwt_symbol.h>
90 static sptr make(
int fftsize,
int wintype,
92 const std::string &
name,
93 bool plotfreq,
bool plotwaterfall,
94 bool plottime,
bool plotconst,
95 QWidget *parent=NULL);
97 virtual void exec_() = 0;
98 virtual QWidget* qwidget() = 0;
101 virtual PyObject* pyqwidget() = 0;
103 virtual void* pyqwidget() = 0;
106 virtual void set_fft_size(
const int fftsize) = 0;
107 virtual int fft_size()
const = 0;
109 virtual void set_frequency_range(
const double centerfreq,
110 const double bandwidth) = 0;
111 virtual void set_fft_power_db(
double min,
double max) = 0;
112 virtual void enable_rf_freq(
bool en) = 0;
119 virtual void set_update_time(
double t) = 0;
float min(float a, float b)
QApplication * d_qApplication
Definition: sink_c.h:121
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
boost::shared_ptr< sink_c > sptr
Definition: sink_c.h:74
VOLK_API $kern pname $kern name
A function pointer to the dispatcher implementation.
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60
A graphical sink to display freq, spec, time, and const plots.
Definition: sink_c.h:70