23 #ifndef INCLUDED_QTGUI_BER_SINK_B_H 24 #define INCLUDED_QTGUI_BER_SINK_B_H 32 #include <qapplication.h> 42 typedef boost::shared_ptr<ber_sink_b>
sptr;
44 static sptr make(std::vector<float> esnos,
46 int berminerrors = 100,
47 float berLimit = -7.0,
48 std::vector<std::string> curvenames = std::vector<std::string>(),
49 QWidget* parent = NULL);
51 virtual void exec_() = 0;
54 virtual PyObject* pyqwidget() = 0;
56 virtual void* pyqwidget() = 0;
59 virtual void set_y_axis(
double min,
double max) = 0;
60 virtual void set_x_axis(
double min,
double max) = 0;
62 virtual void set_update_time(
double t) = 0;
63 virtual void set_title(
const std::string& title) = 0;
64 virtual void set_line_label(
unsigned int which,
const std::string& label) = 0;
65 virtual void set_line_color(
unsigned int which,
const std::string& color) = 0;
66 virtual void set_line_width(
unsigned int which,
int width) = 0;
67 virtual void set_line_style(
unsigned int which,
int style) = 0;
68 virtual void set_line_marker(
unsigned int which,
int marker) = 0;
70 virtual void set_line_alpha(
unsigned int which,
double alpha) = 0;
72 virtual std::string title() = 0;
73 virtual std::string line_label(
unsigned int which) = 0;
74 virtual std::string line_color(
unsigned int which) = 0;
75 virtual int line_width(
unsigned int which) = 0;
76 virtual int line_style(
unsigned int which) = 0;
77 virtual int line_marker(
unsigned int which) = 0;
78 virtual double line_alpha(
unsigned int which) = 0;
80 virtual void set_size(
int width,
int height) = 0;
82 virtual void enable_menu(
bool en =
true) = 0;
83 virtual void enable_autoscale(
bool en) = 0;
84 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:38
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
boost::shared_ptr< ber_sink_b > sptr
Definition: ber_sink_b.h:42
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:71
QApplication * d_qApplication
Definition: ber_sink_b.h:86