qtgui_spectrogram_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_SPECTROGRAM_PLOT_IMPL_H
#define INCLUDED_RADAR_QTGUI_SPECTROGRAM_PLOT_IMPL_H
#include "spectrogram_plot.h"
#include <radar/qtgui_spectrogram_plot.h>
namespace gr {
namespace radar {
class qtgui_spectrogram_plot_impl : public qtgui_spectrogram_plot
{
private:
// Nothing to declare in this block.
protected:
int calculate_output_stream_length(const gr_vector_int& ninput_items);
public:
qtgui_spectrogram_plot_impl(int vlen,
int interval,
std::string xlabel,
std::string ylabel,
std::string label,
std::vector<float> axis_x,
std::vector<float> axis_y,
std::vector<float> axis_z,
bool autoscale_z,
std::string len_key);
~qtgui_spectrogram_plot_impl();
void run_gui();
int d_argc;
char* d_argv;
QApplication* d_qApplication;
int d_vlen, d_interval;
std::string d_xlabel, d_ylabel, d_label;
std::vector<float> d_axis_x, d_axis_y, d_axis_z;
std::vector<float> d_buffer;
bool d_autoscale_z;
spectrogram_plot* d_main_gui;
// Where all the action really happens
int work(int noutput_items,
gr_vector_int& ninput_items,
gr_vector_const_void_star& input_items,
gr_vector_void_star& output_items);
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_QTGUI_SPECTROGRAM_PLOT_IMPL_H */
gr::radar::qtgui_spectrogram_plot_impl::d_axis_z
std::vector< float > d_axis_z
Definition qtgui_spectrogram_plot_impl.h:58
gr::radar::qtgui_spectrogram_plot_impl::work
int work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::radar::qtgui_spectrogram_plot_impl::calculate_output_stream_length
int calculate_output_stream_length(const gr_vector_int &ninput_items)
gr::radar::qtgui_spectrogram_plot_impl::d_axis_x
std::vector< float > d_axis_x
Definition qtgui_spectrogram_plot_impl.h:58
gr::radar::qtgui_spectrogram_plot_impl::d_buffer
std::vector< float > d_buffer
Definition qtgui_spectrogram_plot_impl.h:59
gr::radar::qtgui_spectrogram_plot_impl::d_main_gui
spectrogram_plot * d_main_gui
Definition qtgui_spectrogram_plot_impl.h:61
gr::radar::qtgui_spectrogram_plot_impl::run_gui
void run_gui()
gr::radar::qtgui_spectrogram_plot_impl::qtgui_spectrogram_plot_impl
qtgui_spectrogram_plot_impl(int vlen, int interval, std::string xlabel, std::string ylabel, std::string label, std::vector< float > axis_x, std::vector< float > axis_y, std::vector< float > axis_z, bool autoscale_z, std::string len_key)
gr::radar::qtgui_spectrogram_plot_impl::d_qApplication
QApplication * d_qApplication
Definition qtgui_spectrogram_plot_impl.h:54
gr::radar::qtgui_spectrogram_plot_impl::d_xlabel
std::string d_xlabel
Definition qtgui_spectrogram_plot_impl.h:57
gr::radar::qtgui_spectrogram_plot_impl::d_autoscale_z
bool d_autoscale_z
Definition qtgui_spectrogram_plot_impl.h:60
gr::radar::qtgui_spectrogram_plot_impl::d_label
std::string d_label
Definition qtgui_spectrogram_plot_impl.h:57
gr::radar::qtgui_spectrogram_plot_impl::d_argc
int d_argc
Definition qtgui_spectrogram_plot_impl.h:52
gr::radar::qtgui_spectrogram_plot_impl::d_ylabel
std::string d_ylabel
Definition qtgui_spectrogram_plot_impl.h:57
gr::radar::qtgui_spectrogram_plot_impl::d_interval
int d_interval
Definition qtgui_spectrogram_plot_impl.h:56
gr::radar::qtgui_spectrogram_plot_impl::d_vlen
int d_vlen
Definition qtgui_spectrogram_plot_impl.h:56
gr::radar::qtgui_spectrogram_plot_impl::d_argv
char * d_argv
Definition qtgui_spectrogram_plot_impl.h:53
gr::radar::qtgui_spectrogram_plot_impl::~qtgui_spectrogram_plot_impl
~qtgui_spectrogram_plot_impl()
gr::radar::qtgui_spectrogram_plot_impl::d_axis_y
std::vector< float > d_axis_y
Definition qtgui_spectrogram_plot_impl.h:58
gr::radar::qtgui_spectrogram_plot
This block displays a spectrogram plot of a tagged stream with vectors. Tagged streams combined with ...
Definition qtgui_spectrogram_plot.h:52
gr::radar::spectrogram_plot
Definition spectrogram_plot.h:38
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28
qtgui_spectrogram_plot.h
spectrogram_plot.h