23 #ifndef INCLUDED_QTGUI_SINK_F_H
24 #define INCLUDED_QTGUI_SINK_F_H
32 #include <qapplication.h>
33 #include <qwt_symbol.h>
74 typedef boost::shared_ptr<sink_f>
sptr;
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)
boost::shared_ptr< sink_f > sptr
Definition: sink_f.h:74
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
Include this header to use the message passing features.
Definition: logger.h:131
QApplication * d_qApplication
Definition: sink_f.h:121
A graphical sink to display freq, spec, and time.
Definition: sink_f.h:70
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60