GNU Radio 3.6.5 C++ API
|
A graphical sink to display multiple signals in time. More...
#include <qtgui_time_sink_f.h>
Public Member Functions | |
~qtgui_time_sink_f () | |
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_f_sptr | qtgui_make_time_sink_f (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 float streams and plots them in the time domain. 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.
qtgui_time_sink_f::~qtgui_time_sink_f | ( | ) |
void qtgui_time_sink_f::exec_ | ( | ) |
PyObject* qtgui_time_sink_f::pyqwidget | ( | ) |
QWidget* qtgui_time_sink_f::qwidget | ( | ) |
void qtgui_time_sink_f::set_color | ( | int | which, |
const std::string & | color | ||
) |
void qtgui_time_sink_f::set_time_domain_axis | ( | double | min, |
double | max | ||
) |
void qtgui_time_sink_f::set_title | ( | int | which, |
const std::string & | title | ||
) |
void qtgui_time_sink_f::set_update_time | ( | double | t | ) |
int qtgui_time_sink_f::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_f_sptr qtgui_make_time_sink_f | ( | int | size, |
double | bw, | ||
const std::string & | name, | ||
int | nconnections, | ||
QWidget * | parent | ||
) | [friend] |
QApplication* qtgui_time_sink_f::d_qApplication |