GNU Radio 3.6.5 C++ API

qtgui_time_sink_c Class Reference

A graphical sink to display multiple signals in time. More...

#include <qtgui_time_sink_c.h>

Inheritance diagram for qtgui_time_sink_c:
gr_sync_block gr_block gr_basic_block gr_msg_accepter gruel::msg_accepter

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

qtgui_time_sink_c::~qtgui_time_sink_c ( )

Member Function Documentation

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.


Friends And Related Function Documentation

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]

Member Data Documentation


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