GNU Radio 3.7.1 C++ API
|
A graphical sink to display a histogram. More...
#include <histogram_sink_f.h>
Public Types | |
typedef boost::shared_ptr < histogram_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_x_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_line_alpha (int which, double alpha)=0 |
virtual void | set_nsamps (const int newsize)=0 |
virtual void | set_bins (const int bins)=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_semilogx (bool en=true)=0 |
virtual void | enable_semilogy (bool en=true)=0 |
virtual void | enable_accumulate (bool en=true)=0 |
virtual int | nsamps () const =0 |
virtual int | bins () const =0 |
virtual void | reset ()=0 |
Static Public Member Functions | |
static sptr | make (int size, int bins, double xmin, double xmax, const std::string &name, int nconnections=1, QWidget *parent=NULL) |
Build floating point histogram sink. | |
Public Attributes | |
QApplication * | d_qApplication |
A graphical sink to display a histogram.
This is a QT-based graphical sink the displays a histogram of the data.
virtual int gr::qtgui::histogram_sink_f::bins | ( | ) | const [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_accumulate | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_autoscale | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_grid | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_menu | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_semilogx | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::enable_semilogy | ( | bool | en = true | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::exec_ | ( | ) | [pure virtual] |
virtual double gr::qtgui::histogram_sink_f::line_alpha | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::histogram_sink_f::line_color | ( | int | which | ) | [pure virtual] |
virtual std::string gr::qtgui::histogram_sink_f::line_label | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::histogram_sink_f::line_marker | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::histogram_sink_f::line_style | ( | int | which | ) | [pure virtual] |
virtual int gr::qtgui::histogram_sink_f::line_width | ( | int | which | ) | [pure virtual] |
static sptr gr::qtgui::histogram_sink_f::make | ( | int | size, |
int | bins, | ||
double | xmin, | ||
double | xmax, | ||
const std::string & | name, | ||
int | nconnections = 1 , |
||
QWidget * | parent = NULL |
||
) | [static] |
Build floating point histogram sink.
size | number of points to plot at once |
bins | number of bins to sort the data into |
xmin | minimum x-axis value |
xmax | maximum x-axis value |
name | title for the plot |
nconnections | number of signals connected to sink |
parent | a QWidget parent object, if any |
virtual int gr::qtgui::histogram_sink_f::nsamps | ( | ) | const [pure virtual] |
virtual PyObject* gr::qtgui::histogram_sink_f::pyqwidget | ( | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::reset | ( | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_bins | ( | const int | bins | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_alpha | ( | int | which, |
double | alpha | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_color | ( | int | which, |
const std::string & | color | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_label | ( | int | which, |
const std::string & | line | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_marker | ( | int | which, |
int | marker | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_style | ( | int | which, |
int | style | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_line_width | ( | int | which, |
int | width | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_nsamps | ( | const int | newsize | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_size | ( | int | width, |
int | height | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_title | ( | const std::string & | title | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_update_time | ( | double | t | ) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_x_axis | ( | double | min, |
double | max | ||
) | [pure virtual] |
virtual void gr::qtgui::histogram_sink_f::set_y_axis | ( | double | min, |
double | max | ||
) | [pure virtual] |
virtual std::string gr::qtgui::histogram_sink_f::title | ( | ) | [pure virtual] |
QApplication* gr::qtgui::histogram_sink_f::d_qApplication |