print_results_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_PRINT_RESULTS_IMPL_H
#define INCLUDED_RADAR_PRINT_RESULTS_IMPL_H
#include <radar/print_results.h>
#include <fstream>
namespace gr {
namespace radar {
class print_results_impl : public print_results
{
private:
// Nothing to declare in this block.
public:
print_results_impl(bool store_msg, const std::string filename);
~print_results_impl();
void handle_msg(pmt::pmt_t msg);
pmt::pmt_t d_port_id_in;
size_t d_size_msg, d_size_part;
pmt::pmt_t d_msg_part;
std::ofstream d_file;
std::string d_filename;
bool d_store_msg;
};
} // namespace radar
} // namespace gr
#endif /* INCLUDED_RADAR_PRINT_RESULTS_IMPL_H */
gr::radar::print_results_impl::d_file
std::ofstream d_file
Definition print_results_impl.h:44
gr::radar::print_results_impl::d_size_msg
size_t d_size_msg
Definition print_results_impl.h:41
gr::radar::print_results_impl::d_port_id_in
pmt::pmt_t d_port_id_in
Definition print_results_impl.h:40
gr::radar::print_results_impl::~print_results_impl
~print_results_impl()
gr::radar::print_results_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::print_results_impl::d_store_msg
bool d_store_msg
Definition print_results_impl.h:46
gr::radar::print_results_impl::d_filename
std::string d_filename
Definition print_results_impl.h:45
gr::radar::print_results_impl::d_msg_part
pmt::pmt_t d_msg_part
Definition print_results_impl.h:42
gr::radar::print_results_impl::print_results_impl
print_results_impl(bool store_msg, const std::string filename)
gr::radar::print_results_impl::d_size_part
size_t d_size_part
Definition print_results_impl.h:41
gr::radar::print_results
This block prints data of messages filled with data of the structure [ [[symbol_0],...
Definition print_results.h:43
gr::radar
Definition crop_matrix_vcvc.h:29
gr
Definition crop_matrix_vcvc.h:28
print_results.h