23 #ifndef INCLUDED_QTGUI_BER_SINK_B_H
24 #define INCLUDED_QTGUI_BER_SINK_B_H
32 #include <qapplication.h>
43 typedef boost::shared_ptr<ber_sink_b>
sptr;
45 static sptr make(std::vector<float> esnos,
int curves = 1,
46 int berminerrors = 100,
float berLimit = -7.0,
47 std::vector<std::string> curvenames = std::vector<std::string>(),
48 QWidget *parent=NULL);
50 virtual void exec_() = 0;
53 virtual PyObject* pyqwidget() = 0;
55 virtual void* pyqwidget() = 0;
58 virtual void set_y_axis(
double min,
double max) = 0;
59 virtual void set_x_axis(
double min,
double max) = 0;
61 virtual void set_update_time(
double t) = 0;
62 virtual void set_title(
const std::string &title) = 0;
63 virtual void set_line_label(
int which,
const std::string &label) = 0;
64 virtual void set_line_color(
int which,
const std::string &color) = 0;
65 virtual void set_line_width(
int which,
int width) = 0;
66 virtual void set_line_style(
int which,
int style) = 0;
67 virtual void set_line_marker(
int which,
int marker) = 0;
69 virtual void set_line_alpha(
int which,
double alpha) = 0;
71 virtual std::string title() = 0;
72 virtual std::string line_label(
int which) = 0;
73 virtual std::string line_color(
int which) = 0;
74 virtual int line_width(
int which) = 0;
75 virtual int line_style(
int which) = 0;
76 virtual int line_marker(
int which) = 0;
77 virtual double line_alpha(
int which) = 0;
79 virtual void set_size(
int width,
int height) = 0;
81 virtual void enable_menu(
bool en=
true) = 0;
82 virtual void enable_autoscale(
bool en) = 0;
83 virtual int nsamps()
const = 0;
float min(float a, float b)
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
Definition: ber_sink_b.h:39
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< ber_sink_b > sptr
Definition: ber_sink_b.h:43
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60
QApplication * d_qApplication
Definition: ber_sink_b.h:85