GNU Radio 3.4.0 C++ API
qtgui_time_sink_c Class Reference

#include <qtgui_time_sink_c.h>

Inheritance diagram for qtgui_time_sink_c:

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 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

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)

Constructor & Destructor Documentation

qtgui_time_sink_c::~qtgui_time_sink_c ( )

Member Function Documentation

void qtgui_time_sink_c::exec_ ( )
int qtgui_time_sink_c::general_work ( int  noutput_items,
gr_vector_int ninput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [virtual]

compute output items from input items

Parameters:
noutput_itemsnumber of output items to write on each output stream
ninput_itemsnumber of input items available on each input stream
input_itemsvector of pointers to the input items, one entry per input stream
output_itemsvector of pointers to the output items, one entry per output stream
Returns:
number of items actually written to each output stream, or -1 on EOF. It is OK to return a value less than noutput_items. -1 <= return value <= noutput_items

general_work must call consume or consume_each to indicate how many items were consumed on each input stream.

Implements gr_block.

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)

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: