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