GNU Radio 3.7.1 C++ API
|
A graphical sink to display multiple signals in frequency. More...
#include <freq_sink_c.h>
Public Types | |
typedef boost::shared_ptr < freq_sink_c > | sptr |
Public Member Functions | |
virtual void | exec_ ()=0 |
virtual PyObject * | pyqwidget ()=0 |
virtual void | set_fft_size (const int fftsize)=0 |
virtual int | fft_size () const =0 |
virtual void | set_fft_average (const float fftavg)=0 |
virtual float | fft_average () const =0 |
virtual void | set_fft_window (const gr::filter::firdes::win_type win)=0 |
virtual gr::filter::firdes::win_type | fft_window ()=0 |
virtual void | set_frequency_range (const double centerfreq, const double bandwidth)=0 |
virtual void | set_y_axis (double min, double max)=0 |
virtual void | set_update_time (double t)=0 |
virtual void | set_title (const std::string &title)=0 |
virtual void | set_line_label (int which, const std::string &label)=0 |
virtual void | set_line_color (int which, const std::string &color)=0 |
virtual void | set_line_width (int which, int width)=0 |
virtual void | set_line_style (int which, int style)=0 |
virtual void | set_line_marker (int which, int marker)=0 |
virtual void | set_line_alpha (int which, double alpha)=0 |
virtual std::string | title ()=0 |
virtual std::string | line_label (int which)=0 |
virtual std::string | line_color (int which)=0 |
virtual int | line_width (int which)=0 |
virtual int | line_style (int which)=0 |
virtual int | line_marker (int which)=0 |
virtual double | line_alpha (int which)=0 |
virtual void | set_size (int width, int height)=0 |
virtual void | enable_menu (bool en=true)=0 |
virtual void | enable_grid (bool en=true)=0 |
virtual void | enable_autoscale (bool en=true)=0 |
virtual void | reset ()=0 |
Static Public Member Functions | |
static sptr | make (int fftsize, int wintype, double fc, double bw, const std::string &name, int nconnections=1, QWidget *parent=NULL) |
Build a complex PSD sink. | |
Public Attributes | |
QApplication * | d_qApplication |
A graphical sink to display multiple signals in frequency.
This is a QT-based graphical sink the takes set of a complex streams and plots the PSD. Each signal is plotted with a different color, and the set_title and set_color functions can be used to change the lable and color for a given input number.
virtual void gr::qtgui::freq_sink_c::enable_autoscale | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::enable_grid | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::enable_menu | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::exec_ | ( | ) | [pure virtual] |
virtual float gr::qtgui::freq_sink_c::fft_average | ( | ) | const [pure virtual] |
virtual int gr::qtgui::freq_sink_c::fft_size | ( | ) | const [pure virtual] |
virtual gr::filter::firdes::win_type gr::qtgui::freq_sink_c::fft_window | ( | ) | [pure virtual] |
virtual double gr::qtgui::freq_sink_c::line_alpha | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::freq_sink_c::line_color | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::freq_sink_c::line_label | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::freq_sink_c::line_marker | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::freq_sink_c::line_style | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::freq_sink_c::line_width | ( | int | which | ) | [pure virtual] |
static sptr gr::qtgui::freq_sink_c::make | ( | int | fftsize, |
int | wintype, | ||
double | fc, | ||
double | bw, | ||
const std::string & | name, | ||
int | nconnections = 1 , |
||
QWidget * | parent = NULL |
||
) | [static] |
Build a complex PSD sink.
fftsize | size of the FFT to compute and display |
wintype | type of window to apply (see gnuradio/filter/firdes.h) |
fc | center frequency of signal (use for x-axis labels) |
bw | bandwidth of signal (used to set x-axis labels) |
name | title for the plot |
nconnections | number of signals connected to sink |
parent | a QWidget parent object, if any |
virtual PyObject* gr::qtgui::freq_sink_c::pyqwidget | ( | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::reset | ( | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_fft_average | ( | const float | fftavg | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_fft_size | ( | const int | fftsize | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_fft_window | ( | const gr::filter::firdes::win_type | win | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_frequency_range | ( | const double | centerfreq, |
const double | bandwidth | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_alpha | ( | int | which, |
double | alpha | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_color | ( | int | which, |
const std::string & | color | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_label | ( | int | which, |
const std::string & | label | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_marker | ( | int | which, |
int | marker | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_style | ( | int | which, |
int | style | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_line_width | ( | int | which, |
int | width | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_size | ( | int | width, |
int | height | ||
) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_title | ( | const std::string & | title | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_update_time | ( | double | t | ) | [pure virtual] |
virtual void gr::qtgui::freq_sink_c::set_y_axis | ( | double | min, |
double | max | ||
) | [pure virtual] |
virtual std::string gr::qtgui::freq_sink_c::title | ( | ) | [pure virtual] |
QApplication* gr::qtgui::freq_sink_c::d_qApplication |