Loading...
Searching...
No Matches
ber_sink_b.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2013-2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_QTGUI_BER_SINK_B_H
#define INCLUDED_QTGUI_BER_SINK_B_H
#include <gnuradio/block.h>
#include <gnuradio/qtgui/api.h>
#include <qapplication.h>
namespace gr {
namespace qtgui {
class QTGUI_API ber_sink_b : virtual public block
{
public:
// gr::fec::ber_sink_b::sptr
typedef std::shared_ptr<ber_sink_b> sptr;
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);
virtual void exec_() = 0;
virtual QWidget* qwidget() = 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(unsigned int which, const std::string& label) = 0;
virtual void set_line_color(unsigned int which, const std::string& color) = 0;
virtual void set_line_width(unsigned int which, int width) = 0;
virtual void set_line_style(unsigned int which, int style) = 0;
virtual void set_line_marker(unsigned int which, int marker) = 0;
virtual void set_line_alpha(unsigned int which, double alpha) = 0;
virtual std::string title() = 0;
virtual std::string line_label(unsigned int which) = 0;
virtual std::string line_color(unsigned int which) = 0;
virtual int line_width(unsigned int which) = 0;
virtual int line_style(unsigned int which) = 0;
virtual int line_marker(unsigned int which) = 0;
virtual double line_alpha(unsigned int which) = 0;
virtual void set_size(int width, int height) = 0;
virtual void enable_menu(bool en = true) = 0;
virtual void enable_autoscale(bool en) = 0;
virtual int nsamps() const = 0;
QApplication* d_qApplication;
};
} /* namespace qtgui */
} /* namespace gr */
#endif /* INCLUDED_QTGUI_BER_SINK_B_H */
gr::basic_block::color
vcolor color() const
Definition basic_block.h:122
gr::block::block
block(void)
Definition gnuradio-runtime/include/gnuradio/block.h:806
gr::qtgui::ber_sink_b
Definition ber_sink_b.h:23
gr::qtgui::ber_sink_b::line_label
virtual std::string line_label(unsigned int which)=0
gr::qtgui::ber_sink_b::set_y_axis
virtual void set_y_axis(double min, double max)=0
gr::qtgui::ber_sink_b::line_color
virtual std::string line_color(unsigned int which)=0
gr::qtgui::ber_sink_b::make
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)
gr::qtgui::ber_sink_b::d_qApplication
QApplication * d_qApplication
Definition ber_sink_b.h:65
gr::qtgui::ber_sink_b::set_line_style
virtual void set_line_style(unsigned int which, int style)=0
gr::qtgui::ber_sink_b::set_line_alpha
virtual void set_line_alpha(unsigned int which, double alpha)=0
gr::qtgui::ber_sink_b::line_width
virtual int line_width(unsigned int which)=0
gr::qtgui::ber_sink_b::line_style
virtual int line_style(unsigned int which)=0
gr::qtgui::ber_sink_b::exec_
virtual void exec_()=0
gr::qtgui::ber_sink_b::nsamps
virtual int nsamps() const =0
gr::qtgui::ber_sink_b::sptr
std::shared_ptr< ber_sink_b > sptr
Definition ber_sink_b.h:26
gr::qtgui::ber_sink_b::set_line_label
virtual void set_line_label(unsigned int which, const std::string &label)=0
gr::qtgui::ber_sink_b::set_size
virtual void set_size(int width, int height)=0
gr::qtgui::ber_sink_b::set_line_marker
virtual void set_line_marker(unsigned int which, int marker)=0
gr::qtgui::ber_sink_b::line_marker
virtual int line_marker(unsigned int which)=0
gr::qtgui::ber_sink_b::set_update_time
virtual void set_update_time(double t)=0
gr::qtgui::ber_sink_b::set_line_color
virtual void set_line_color(unsigned int which, const std::string &color)=0
gr::qtgui::ber_sink_b::title
virtual std::string title()=0
gr::qtgui::ber_sink_b::line_alpha
virtual double line_alpha(unsigned int which)=0
gr::qtgui::ber_sink_b::qwidget
virtual QWidget * qwidget()=0
gr::qtgui::ber_sink_b::set_line_width
virtual void set_line_width(unsigned int which, int width)=0
gr::qtgui::ber_sink_b::enable_autoscale
virtual void enable_autoscale(bool en)=0
gr::qtgui::ber_sink_b::enable_menu
virtual void enable_menu(bool en=true)=0
gr::qtgui::ber_sink_b::set_title
virtual void set_title(const std::string &title)=0
gr::qtgui::ber_sink_b::set_x_axis
virtual void set_x_axis(double min, double max)=0
block.h
api.h
QTGUI_API
#define QTGUI_API
Definition gr-qtgui/include/gnuradio/qtgui/api.h:18
gr::qtgui
Definition ber_sink_b.h:20
gr
GNU Radio logging wrapper.
Definition basic_block.h:29