GNU Radio Radar Toolbox
qtgui_scatter_plot_impl.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Communications Engineering Lab, KIT.
4  *
5  * This is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 3, or (at your option)
8  * any later version.
9  *
10  * This software is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this software; see the file COPYING. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H
22 #define INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H
23 
24 #include "scatter_plot.h"
26 
27 namespace gr {
28 namespace radar {
29 
31 {
32 private:
33  // Nothing to declare in this block.
34 
35 public:
37  std::string label_x,
38  std::string label_y,
39  std::vector<float> axis_x,
40  std::vector<float> axis_y,
41  std::string label);
43  void handle_msg(pmt::pmt_t msg);
44  void run_gui();
45 
46  std::vector<float> d_axis_x, d_axis_y;
47  std::vector<float> d_x, d_y;
48  std::string d_label_x, d_label_y;
49  bool d_xy_read;
50  std::string d_label;
51  pmt::pmt_t d_port_id_in;
52 
53  int d_argc;
54  char* d_argv;
55  QApplication* d_qApplication;
56 
59 };
60 
61 } // namespace radar
62 } // namespace gr
63 
64 #endif /* INCLUDED_RADAR_QTGUI_SCATTER_PLOT_IMPL_H */
gr::radar::scatter_plot
Definition: scatter_plot.h:34
gr::radar::qtgui_scatter_plot_impl::d_qApplication
QApplication * d_qApplication
Definition: qtgui_scatter_plot_impl.h:55
gr::radar::qtgui_scatter_plot_impl::~qtgui_scatter_plot_impl
~qtgui_scatter_plot_impl()
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_label
std::string d_label
Definition: qtgui_scatter_plot_impl.h:50
gr::radar::qtgui_scatter_plot_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::qtgui_scatter_plot_impl::d_axis_x
std::vector< float > d_axis_x
Definition: qtgui_scatter_plot_impl.h:46
scatter_plot.h
gr::radar::qtgui_scatter_plot_impl::d_label_y
std::string d_label_y
Definition: qtgui_scatter_plot_impl.h:48
qtgui_scatter_plot.h
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::d_y
std::vector< float > d_y
Definition: qtgui_scatter_plot_impl.h:47
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_axis_y
std::vector< float > d_axis_y
Definition: qtgui_scatter_plot_impl.h:46
gr::radar::qtgui_scatter_plot_impl::d_label_x
std::string d_label_x
Definition: qtgui_scatter_plot_impl.h:48
gr
Definition: crop_matrix_vcvc.h:28
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::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_xy_read
bool d_xy_read
Definition: qtgui_scatter_plot_impl.h:49
gr::radar::qtgui_scatter_plot_impl::run_gui
void run_gui()
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::qtgui_scatter_plot_impl
Definition: qtgui_scatter_plot_impl.h:31
gr::radar::qtgui_scatter_plot_impl::d_argc
int d_argc
Definition: qtgui_scatter_plot_impl.h:53