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,
94 const std::string& name,
99 QWidget* parent = NULL);
101 virtual void exec_() = 0;
102 virtual QWidget* qwidget() = 0;
105 virtual PyObject* pyqwidget() = 0;
107 virtual void* pyqwidget() = 0;
110 virtual void set_fft_size(
const int fftsize) = 0;
111 virtual int fft_size()
const = 0;
113 virtual void set_frequency_range(
const double centerfreq,
const double bandwidth) = 0;
114 virtual void set_fft_power_db(
double min,
double max) = 0;
115 virtual void enable_rf_freq(
bool en) = 0;
122 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
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
QApplication * d_qApplication
Definition: sink_f.h:124
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:71