11 #ifndef INCLUDED_QTGUI_BER_SINK_B_H
12 #define INCLUDED_QTGUI_BER_SINK_B_H
16 #include <qapplication.h>
26 typedef std::shared_ptr<ber_sink_b>
sptr;
30 int berminerrors = 100,
31 float berLimit = -7.0,
32 std::vector<std::string> curvenames = std::vector<std::string>(),
33 QWidget* parent = NULL);
42 virtual void set_title(
const std::string& title) = 0;
43 virtual void set_line_label(
unsigned int which,
const std::string& label) = 0;
44 virtual void set_line_color(
unsigned int which,
const std::string& color) = 0;
51 virtual std::string
title() = 0;
59 virtual void set_size(
int width,
int height) = 0;
The abstract base class for all 'terminal' processing blocks.
Definition: gnuradio-runtime/include/gnuradio/block.h:63
Definition: ber_sink_b.h:23
virtual std::string line_label(unsigned int which)=0
virtual void set_y_axis(double min, double max)=0
virtual std::string line_color(unsigned int which)=0
static sptr make(std::vector< float > esnos, int curves=1, int berminerrors=100, float berLimit=-7.0, std::vector< std::string > curvenames=std::vector< std::string >(), QWidget *parent=NULL)
QApplication * d_qApplication
Definition: ber_sink_b.h:65
virtual void set_line_style(unsigned int which, int style)=0
virtual void set_line_alpha(unsigned int which, double alpha)=0
virtual int line_width(unsigned int which)=0
virtual int line_style(unsigned int which)=0
virtual int nsamps() const =0
std::shared_ptr< ber_sink_b > sptr
Definition: ber_sink_b.h:26
virtual void set_line_label(unsigned int which, const std::string &label)=0
virtual void set_size(int width, int height)=0
virtual void set_line_marker(unsigned int which, int marker)=0
virtual int line_marker(unsigned int which)=0
virtual void set_update_time(double t)=0
virtual void set_line_color(unsigned int which, const std::string &color)=0
virtual QWidget * qwidget()=0
virtual std::string title()=0
virtual double line_alpha(unsigned int which)=0
virtual void set_line_width(unsigned int which, int width)=0
virtual void enable_autoscale(bool en)=0
virtual void enable_menu(bool en=true)=0
virtual void set_title(const std::string &title)=0
virtual void set_x_axis(double min, double max)=0
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
float min(float a, float b)
GNU Radio logging wrapper.
Definition: basic_block.h:29