GNU Radio's GSM Package
message_printer_impl.h
Go to the documentation of this file.
1
/* -*- c++ -*- */
2
/*
3
* @file
4
* @author (C) 2014 by Piotr Krysik <ptrkrysik@gmail.com>
5
* @section LICENSE
6
*
7
* Gr-gsm is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 3, or (at your option)
10
* any later version.
11
*
12
* Gr-gsm is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with gr-gsm; see the file COPYING. If not, write to
19
* the Free Software Foundation, Inc., 51 Franklin Street,
20
* Boston, MA 02110-1301, USA.
21
*/
22
23
#ifndef INCLUDED_GSM_MESSAGE_PRINTER_IMPL_H
24
#define INCLUDED_GSM_MESSAGE_PRINTER_IMPL_H
25
26
#include <
grgsm/misc_utils/message_printer.h
>
27
28
namespace
gr
{
29
namespace
gsm {
30
31
class
message_printer_impl
:
public
message_printer
32
{
33
private
:
34
void
message_print(pmt::pmt_t msg);
35
pmt::pmt_t d_prepend_string;
36
bool
d_prepend_fnr;
37
bool
d_prepend_frame_count;
38
bool
d_print_gsmtap_header;
39
public
:
40
message_printer_impl
(pmt::pmt_t prepend_string,
bool
prepend_fnr=
false
,
41
bool
prepend_frame_count=
false
,
bool
print_gsmtap_header=
false
);
42
~message_printer_impl
();
43
};
44
45
}
// namespace gsm
46
}
// namespace gr
47
48
#endif
/* INCLUDED_GSM_MESSAGE_PRINTER_IMPL_H */
49
gr::gsm::message_printer_impl::~message_printer_impl
~message_printer_impl()
gr::gsm::message_printer
<+description of block+>
Definition:
message_printer.h:39
message_printer.h
gr::gsm::message_printer_impl
Definition:
message_printer_impl.h:32
gr
Definition:
constants.h:29
gr::gsm::message_printer_impl::message_printer_impl
message_printer_impl(pmt::pmt_t prepend_string, bool prepend_fnr=false, bool prepend_frame_count=false, bool print_gsmtap_header=false)
lib
misc_utils
message_printer_impl.h
Generated by
1.8.20