GNU Radio 3.7.1 C++ API
gr::qtgui::sink_f Class Reference

A graphical sink to display freq, spec, and time. More...

#include <sink_f.h>

Inheritance diagram for gr::qtgui::sink_f:

List of all members.

Public Types

typedef boost::shared_ptr< sink_fsptr

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_frequency_range (const double centerfreq, const double bandwidth)=0
virtual void set_fft_power_db (double min, double max)=0
virtual void set_update_time (double t)=0

Static Public Member Functions

static sptr make (int fftsize, int wintype, double fc, double bw, const std::string &name, bool plotfreq, bool plotwaterfall, bool plottime, bool plotconst, QWidget *parent=NULL)
 Build a floating point qtgui sink.

Public Attributes

QApplication * d_qApplication

Detailed Description

A graphical sink to display freq, spec, and time.

This is a QT-based graphical sink the takes a float stream and plots it. The default action is to plot the signal as a PSD (FFT), spectrogram (waterfall), and time domain plots. The plots may be turned off by setting the appropriate boolean value in the constructor to False.


Member Typedef Documentation


Member Function Documentation

virtual void gr::qtgui::sink_f::exec_ ( ) [pure virtual]
virtual int gr::qtgui::sink_f::fft_size ( ) const [pure virtual]
static sptr gr::qtgui::sink_f::make ( int  fftsize,
int  wintype,
double  fc,
double  bw,
const std::string &  name,
bool  plotfreq,
bool  plotwaterfall,
bool  plottime,
bool  plotconst,
QWidget *  parent = NULL 
) [static]

Build a floating point qtgui sink.

Parameters:
fftsizesize of the FFT to compute and display
wintypetype of window to apply (see gnuradio/filter/firdes.h)
fccenter frequency of signal (use for x-axis labels)
bwbandwidth of signal (used to set x-axis labels)
nametitle for the plot
plotfreqToggle frequency plot on/off
plotwaterfallToggle waterfall plot on/off
plottimeToggle time plot on/off
plotconstToggle constellation plot on/off
parenta QWidget parent object, if any
virtual PyObject* gr::qtgui::sink_f::pyqwidget ( ) [pure virtual]
virtual void gr::qtgui::sink_f::set_fft_power_db ( double  min,
double  max 
) [pure virtual]
virtual void gr::qtgui::sink_f::set_fft_size ( const int  fftsize) [pure virtual]
virtual void gr::qtgui::sink_f::set_frequency_range ( const double  centerfreq,
const double  bandwidth 
) [pure virtual]
virtual void gr::qtgui::sink_f::set_update_time ( double  t) [pure virtual]

Member Data Documentation


The documentation for this class was generated from the following file: