GNU Radio Radar Toolbox
print_results_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_PRINT_RESULTS_IMPL_H
22 #define INCLUDED_RADAR_PRINT_RESULTS_IMPL_H
23 
24 #include <radar/print_results.h>
25 #include <fstream>
26 
27 namespace gr {
28 namespace radar {
29 
31 {
32 private:
33  // Nothing to declare in this block.
34 
35 public:
36  print_results_impl(bool store_msg, const std::string filename);
38  void handle_msg(pmt::pmt_t msg);
39 
40  pmt::pmt_t d_port_id_in;
42  pmt::pmt_t d_msg_part;
43 
44  std::ofstream d_file;
45  std::string d_filename;
47 };
48 
49 } // namespace radar
50 } // namespace gr
51 
52 #endif /* INCLUDED_RADAR_PRINT_RESULTS_IMPL_H */
gr::radar::print_results_impl
Definition: print_results_impl.h:30
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::d_msg_part
pmt::pmt_t d_msg_part
Definition: print_results_impl.h:42
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_filename
std::string d_filename
Definition: print_results_impl.h:45
gr::radar::print_results_impl::d_store_msg
bool d_store_msg
Definition: print_results_impl.h:46
gr::radar::print_results_impl::d_file
std::ofstream d_file
Definition: print_results_impl.h:44
gr::radar::print_results
This block prints data of messages filled with data of the structure [ [[symbol_0],...
Definition: print_results.h:42
gr
Definition: crop_matrix_vcvc.h:28
gr::radar::print_results_impl::print_results_impl
print_results_impl(bool store_msg, const std::string filename)
print_results.h
gr::radar::print_results_impl::handle_msg
void handle_msg(pmt::pmt_t msg)
gr::radar::print_results_impl::d_size_part
size_t d_size_part
Definition: print_results_impl.h:41