GNU Radio 3.7.1 C++ API
|
A graphical sink to display multiple signals in time. More...
#include <time_sink_f.h>
Public Types | |
typedef boost::shared_ptr < time_sink_f > | sptr |
Public Member Functions | |
virtual void | exec_ ()=0 |
virtual PyObject * | pyqwidget ()=0 |
virtual void | set_y_axis (double min, double max)=0 |
virtual void | set_update_time (double t)=0 |
virtual void | set_title (const std::string &title)=0 |
virtual void | set_line_label (int which, const std::string &line)=0 |
virtual void | set_line_color (int which, const std::string &color)=0 |
virtual void | set_line_width (int which, int width)=0 |
virtual void | set_line_style (int which, int style)=0 |
virtual void | set_line_marker (int which, int marker)=0 |
virtual void | set_nsamps (const int newsize)=0 |
virtual void | set_samp_rate (const double samp_rate)=0 |
virtual void | set_line_alpha (int which, double alpha)=0 |
virtual std::string | title ()=0 |
virtual std::string | line_label (int which)=0 |
virtual std::string | line_color (int which)=0 |
virtual int | line_width (int which)=0 |
virtual int | line_style (int which)=0 |
virtual int | line_marker (int which)=0 |
virtual double | line_alpha (int which)=0 |
virtual void | set_size (int width, int height)=0 |
virtual void | enable_menu (bool en=true)=0 |
virtual void | enable_grid (bool en=true)=0 |
virtual void | enable_autoscale (bool en=true)=0 |
virtual void | enable_stem_plot (bool en=true)=0 |
virtual void | enable_semilogx (bool en=true)=0 |
virtual void | enable_semilogy (bool en=true)=0 |
virtual int | nsamps () const =0 |
virtual void | reset ()=0 |
Static Public Member Functions | |
static sptr | make (int size, double samp_rate, const std::string &name, int nconnections=1, QWidget *parent=NULL) |
Build floating point time sink. | |
Public Attributes | |
QApplication * | d_qApplication |
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.
virtual void gr::qtgui::time_sink_f::enable_autoscale | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::enable_grid | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::enable_menu | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::enable_semilogx | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::enable_semilogy | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::enable_stem_plot | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::exec_ | ( | ) | [pure virtual] |
virtual double gr::qtgui::time_sink_f::line_alpha | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::time_sink_f::line_color | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::time_sink_f::line_label | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::time_sink_f::line_marker | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::time_sink_f::line_style | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::time_sink_f::line_width | ( | int | which | ) | [pure virtual] |
static sptr gr::qtgui::time_sink_f::make | ( | int | size, |
double | samp_rate, | ||
const std::string & | name, | ||
int | nconnections = 1 , |
||
QWidget * | parent = NULL |
||
) | [static] |
Build floating point time sink.
size | number of points to plot at once |
samp_rate | sample rate (used to set x-axis labels) |
name | title for the plot |
nconnections | number of signals connected to sink |
parent | a QWidget parent object, if any |
virtual int gr::qtgui::time_sink_f::nsamps | ( | ) | const [pure virtual] |
virtual PyObject* gr::qtgui::time_sink_f::pyqwidget | ( | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::reset | ( | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_alpha | ( | int | which, |
double | alpha | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_color | ( | int | which, |
const std::string & | color | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_label | ( | int | which, |
const std::string & | line | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_marker | ( | int | which, |
int | marker | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_style | ( | int | which, |
int | style | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_line_width | ( | int | which, |
int | width | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_nsamps | ( | const int | newsize | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_samp_rate | ( | const double | samp_rate | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_size | ( | int | width, |
int | height | ||
) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_title | ( | const std::string & | title | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_update_time | ( | double | t | ) | [pure virtual] |
virtual void gr::qtgui::time_sink_f::set_y_axis | ( | double | min, |
double | max | ||
) | [pure virtual] |
virtual std::string gr::qtgui::time_sink_f::title | ( | ) | [pure virtual] |
QApplication* gr::qtgui::time_sink_f::d_qApplication |