GNU Radio 3.6.5 C++ API
|
A graphical sink to display multiple signals in time. More...
#include <qtgui_time_sink_c.h>
Public Member Functions | |
~qtgui_time_sink_c () | |
void | exec_ () |
QWidget * | qwidget () |
PyObject * | pyqwidget () |
void | set_time_domain_axis (double min, double max) |
void | set_update_time (double t) |
void | set_title (int which, const std::string &title) |
void | set_color (int which, const std::string &color) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you | |
Public Attributes | |
QApplication * | d_qApplication |
Friends | |
GR_QTGUI_API qtgui_time_sink_c_sptr | qtgui_make_time_sink_c (int size, double bw, const std::string &name, int nconnections, QWidget *parent) |
A graphical sink to display multiple signals in time.
This is a QT-based graphical sink the takes set of a complex streams and plots them in the time domain. For each signal, both the signal's I and Q parts are plotted, and they are all 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.
qtgui_time_sink_c::~qtgui_time_sink_c | ( | ) |
void qtgui_time_sink_c::exec_ | ( | ) |
PyObject* qtgui_time_sink_c::pyqwidget | ( | ) |
QWidget* qtgui_time_sink_c::qwidget | ( | ) |
void qtgui_time_sink_c::set_color | ( | int | which, |
const std::string & | color | ||
) |
void qtgui_time_sink_c::set_time_domain_axis | ( | double | min, |
double | max | ||
) |
void qtgui_time_sink_c::set_title | ( | int | which, |
const std::string & | title | ||
) |
void qtgui_time_sink_c::set_update_time | ( | double | t | ) |
int qtgui_time_sink_c::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.
GR_QTGUI_API qtgui_time_sink_c_sptr qtgui_make_time_sink_c | ( | int | size, |
double | bw, | ||
const std::string & | name, | ||
int | nconnections, | ||
QWidget * | parent | ||
) | [friend] |
QApplication* qtgui_time_sink_c::d_qApplication |