23 #ifndef INCLUDED_QTGUI_SINK_F_H
24 #define INCLUDED_QTGUI_SINK_F_H
31 #include <qapplication.h>
32 #include "SpectrumGUIClass.h"
38 double fc=0,
double bw=1.0,
39 const std::string &
name=
"Spectrum Display",
40 bool plotfreq=
true,
bool plotwaterfall=
true,
41 bool plottime=
true,
bool plotconst=
false,
42 QWidget *parent=NULL);
60 const std::string &
name,
61 bool plotfreq,
bool plotwaterfall,
62 bool plottime,
bool plotconst,
66 const std::string &name,
67 bool plotfreq,
bool plotwaterfall,
68 bool plottime,
bool plotconst,
71 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
77 std::vector<float> d_window;
88 bool d_plotfreq, d_plotwaterfall, d_plottime, d_plotconst;
93 SpectrumGUIClass *d_main_gui;
98 void fft(
const float *data_in,
int size);
104 PyObject* pyqwidget();
106 void set_frequency_range(
const double centerfreq,
107 const double bandwidth);
109 void set_time_domain_axis(
double min,
double max);
110 void set_constellation_axis(
double xmin,
double xmax,
111 double ymin,
double ymax);
112 void set_constellation_pen_size(
int size);
113 void set_frequency_axis(
double min,
double max);
115 void set_update_time(
double t);
120 gr_vector_int &ninput_items,
121 gr_vector_const_void_star &input_items,
122 gr_vector_void_star &output_items);
virtual void forecast(int, std::vector< int > &)
Overload me! I am the forecast.
#define GR_QTGUI_API
Definition: gr_qtgui_api.h:30
A graphical sink to display freq, spec, and time.This is a QT-based graphical sink the takes a float ...
Definition: qtgui_sink_f.h:55
QApplication * d_qApplication
Definition: qtgui_sink_f.h:117
Definition: gr_block.h:37
win_type
Definition: gr_firdes.h:39
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
GR_QTGUI_API qtgui_sink_f_sptr qtgui_make_sink_f(int fftsize, int wintype, double fc=0, double bw=1.0, const std::string &name="Spectrum Display", bool plotfreq=true, bool plotwaterfall=true, bool plottime=true, bool plotconst=false, QWidget *parent=NULL)
virtual int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
compute output items from input items
VOLK_API $kern pname $kern name
A function pointer to the dispatcher implementation.
FFT: complex in, complex out.
Definition: gri_fft.h:63