qtgui_scatter_plot_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2014 Communications Engineering Lab, KIT.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
* Boston, MA 02110-1301, USA.
*/
#ifndef INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H
#define INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H
#include "scatter_plot.h"
#include <radar/qtgui_scatter_plot.h>
namespace gr {
namespace radar {
class qtgui_scatter_plot_impl : public qtgui_scatter_plot
{
private:
// Nothing to declare in this block.
public:
qtgui_scatter_plot_impl(int interval,
std::string label_x,
std::string label_y,
std::vector<float> axis_x,
std::vector<float> axis_y,
std::string label);
~qtgui_scatter_plot_impl();
void handle_msg(pmt::pmt_t msg);
void run_gui();
std::vector<float> d_axis_x, d_axis_y;
std::vector<float> d_x, d_y;
std::string d_label_x, d_label_y;
bool d_xy_read;
std::string d_label;
pmt::pmt_t d_port_id_in;
int d_argc;
char* d_argv;
QApplication* d_qApplication;
int d_interval;
scatter_plot* d_main_gui;
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H */
gr::radar::qtgui_scatter_plot_impl::d_label_x
std::string d_label_x
Definition qtgui_scatter_plot_impl.h:48
gr::radar::qtgui_scatter_plot_impl::d_main_gui
scatter_plot * d_main_gui
Definition qtgui_scatter_plot_impl.h:58
gr::radar::qtgui_scatter_plot_impl::d_qApplication
QApplication * d_qApplication
Definition qtgui_scatter_plot_impl.h:55
gr::radar::qtgui_scatter_plot_impl::d_port_id_in
pmt::pmt_t d_port_id_in
Definition qtgui_scatter_plot_impl.h:51
gr::radar::qtgui_scatter_plot_impl::d_interval
int d_interval
Definition qtgui_scatter_plot_impl.h:57
gr::radar::qtgui_scatter_plot_impl::d_x
std::vector< float > d_x
Definition qtgui_scatter_plot_impl.h:47
gr::radar::qtgui_scatter_plot_impl::~qtgui_scatter_plot_impl
~qtgui_scatter_plot_impl()
gr::radar::qtgui_scatter_plot_impl::d_xy_read
bool d_xy_read
Definition qtgui_scatter_plot_impl.h:49
gr::radar::qtgui_scatter_plot_impl::d_label_y
std::string d_label_y
Definition qtgui_scatter_plot_impl.h:48
gr::radar::qtgui_scatter_plot_impl::d_axis_y
std::vector< float > d_axis_y
Definition qtgui_scatter_plot_impl.h:46
gr::radar::qtgui_scatter_plot_impl::d_argv
char * d_argv
Definition qtgui_scatter_plot_impl.h:54
gr::radar::qtgui_scatter_plot_impl::qtgui_scatter_plot_impl
qtgui_scatter_plot_impl(int interval, std::string label_x, std::string label_y, std::vector< float > axis_x, std::vector< float > axis_y, std::string label)
gr::radar::qtgui_scatter_plot_impl::run_gui
void run_gui()
gr::radar::qtgui_scatter_plot_impl::d_y
std::vector< float > d_y
Definition qtgui_scatter_plot_impl.h:47
gr::radar::qtgui_scatter_plot_impl::d_axis_x
std::vector< float > d_axis_x
Definition qtgui_scatter_plot_impl.h:46
gr::radar::qtgui_scatter_plot_impl::d_argc
int d_argc
Definition qtgui_scatter_plot_impl.h:53
gr::radar::qtgui_scatter_plot_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::qtgui_scatter_plot_impl::d_label
std::string d_label
Definition qtgui_scatter_plot_impl.h:50
gr::radar::qtgui_scatter_plot
This block displays a scatter plot of two data sets. The identifiers (symbols) are given with label_x...
Definition qtgui_scatter_plot.h:49
gr::radar::scatter_plot
Definition scatter_plot.h:35
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28
qtgui_scatter_plot.h
scatter_plot.h