23 #ifndef INCLUDED_QTGUI_SINK_C_H
24 #define INCLUDED_QTGUI_SINK_C_H
31 #include <qapplication.h>
33 #include "SpectrumGUIClass.h"
39 double fc=0,
double bandwidth=1.0,
40 const std::string &
name=
"Spectrum Display",
41 bool plotfreq=
true,
bool plotwaterfall=
true,
42 bool plottime=
true,
bool plotconst=
true,
43 QWidget *parent=NULL);
61 const std::string &
name,
62 bool plotfreq,
bool plotwaterfall,
63 bool plottime,
bool plotconst,
67 const std::string &name,
68 bool plotfreq,
bool plotwaterfall,
69 bool plottime,
bool plotconst,
72 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
78 std::vector<float> d_window;
91 bool d_plotfreq, d_plotwaterfall, d_plottime, d_plotconst;
96 SpectrumGUIClass *d_main_gui;
101 void fft(
const gr_complex *data_in,
int size);
107 PyObject* pyqwidget();
109 void set_frequency_range(
const double centerfreq,
110 const double bandwidth);
112 void set_time_domain_axis(
double min,
double max);
113 void set_constellation_axis(
double xmin,
double xmax,
114 double ymin,
double ymax);
115 void set_constellation_pen_size(
int size);
116 void set_frequency_axis(
double min,
double max);
118 void set_update_time(
double t);
123 gr_vector_int &ninput_items,
124 gr_vector_const_void_star &input_items,
125 gr_vector_void_star &output_items);
GR_QTGUI_API qtgui_sink_c_sptr qtgui_make_sink_c(int fftsize, int wintype, double fc=0, double bandwidth=1.0, const std::string &name="Spectrum Display", bool plotfreq=true, bool plotwaterfall=true, bool plottime=true, bool plotconst=true, QWidget *parent=NULL)
virtual void forecast(int, std::vector< int > &)
Overload me! I am the forecast.
#define GR_QTGUI_API
Definition: gr_qtgui_api.h:30
Definition: gr_block.h:37
win_type
Definition: gr_firdes.h:39
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
std::complex< float > gr_complex
Definition: gr_complex.h:26
A graphical sink to display freq, spec, time, and const plots.This is a QT-based graphical sink the t...
Definition: qtgui_sink_c.h:56
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:26
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
QApplication * d_qApplication
Definition: qtgui_sink_c.h:120