aboutsummaryrefslogtreecommitdiffstats
path: root/lib/misc_utils/message_printer_impl.h
diff options
context:
space:
mode:
authorRoman Khassraf <roman@khassraf.at>2015-07-26 13:47:26 +0200
committerRoman Khassraf <roman@khassraf.at>2015-07-26 13:47:26 +0200
commit2bf49e4dd58d1c0833bde8f6af3fe0d71b2b694b (patch)
treebbbe7f1963ff6ccf7bd5c360fcfe8b6fa1a1eafe /lib/misc_utils/message_printer_impl.h
parent829eabb58c0e7c35d7abde55609b8c56154d7d7f (diff)
Added option to message printer that allows printing the gsmtap header.
Diffstat (limited to 'lib/misc_utils/message_printer_impl.h')
-rw-r--r--lib/misc_utils/message_printer_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/misc_utils/message_printer_impl.h b/lib/misc_utils/message_printer_impl.h
index e82485e..e44288b 100644
--- a/lib/misc_utils/message_printer_impl.h
+++ b/lib/misc_utils/message_printer_impl.h
@@ -33,8 +33,9 @@ namespace gr {
private:
void message_print(pmt::pmt_t msg);
pmt::pmt_t d_prepend_string;
+ bool d_print_gsmtap_header;
public:
- message_printer_impl(pmt::pmt_t prepend_string);
+ message_printer_impl(pmt::pmt_t prepend_string, bool print_gsmtap_header=false);
~message_printer_impl();
};