GNU Radio Radar Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Macros
qtgui_time_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_TIME_PLOT_IMPL_H
22 #define INCLUDED_RADAR_QTGUI_TIME_PLOT_IMPL_H
23 
24 #include <radar/qtgui_time_plot.h>
25 #include "time_plot.h"
26 
27 namespace gr {
28  namespace radar {
29 
31  {
32  private:
33  // Nothing to declare in this block.
34 
35  public:
36  qtgui_time_plot_impl(int interval, std::string label_y, std::vector<float> axis_y, float range_time, std::string label);
38  void handle_msg(pmt::pmt_t msg);
39  void run_gui();
40 
42  std::string d_label_y;
43  std::vector<float> d_axis_y;
44  float d_range_time;
45  pmt::pmt_t d_port_id_in;
46  std::vector<float> d_y;
47  bool d_y_read;
48  std::string d_label;
49 
50  int d_argc;
51  char *d_argv;
52  QApplication *d_qApplication;
53 
55  };
56 
57  } // namespace radar
58 } // namespace gr
59 
60 #endif /* INCLUDED_RADAR_QTGUI_TIME_PLOT_IMPL_H */
61 
char * d_argv
Definition: qtgui_time_plot_impl.h:51
bool d_y_read
Definition: qtgui_time_plot_impl.h:47
pmt::pmt_t d_port_id_in
Definition: qtgui_time_plot_impl.h:45
qtgui_time_plot_impl(int interval, std::string label_y, std::vector< float > axis_y, float range_time, std::string label)
Definition: qtgui_time_plot_impl.h:30
int d_interval
Definition: qtgui_time_plot_impl.h:41
Definition: time_plot.h:33
int d_argc
Definition: qtgui_time_plot_impl.h:50
float d_range_time
Definition: qtgui_time_plot_impl.h:44
std::vector< float > d_y
Definition: qtgui_time_plot_impl.h:46
std::string d_label_y
Definition: qtgui_time_plot_impl.h:42
QApplication * d_qApplication
Definition: qtgui_time_plot_impl.h:52
std::vector< float > d_axis_y
Definition: qtgui_time_plot_impl.h:43
time_plot * d_main_gui
Definition: qtgui_time_plot_impl.h:54
void handle_msg(pmt::pmt_t msg)
std::string d_label
Definition: qtgui_time_plot_impl.h:48
This block displays a plot of a value with a given interval in milliseconds. label_y represents the i...
Definition: qtgui_time_plot.h:43