23 #ifndef INCLUDED_QTGUI_SINK_C_H 24 #define INCLUDED_QTGUI_SINK_C_H 32 #include <qapplication.h> 33 #include <qwt_symbol.h> 74 typedef boost::shared_ptr<sink_c>
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)
QApplication * d_qApplication
Definition: sink_c.h:124
#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
boost::shared_ptr< sink_c > sptr
Definition: sink_c.h:74
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:71
A graphical sink to display freq, spec, time, and const plots.
Definition: sink_c.h:70