Fix compilation error: '_1' was not declared in this scope

Change-Id: I0f1f2df817a65f7d5b72c5280451346a0a011d47
master
Vadim Yanitskiy 2 years ago
parent 6e1473426d
commit a11692085e
  1. 1
      include/grgsm/misc_utils/udp_socket.h
  2. 2
      lib/decoding/control_channels_decoder_impl.cc
  3. 2
      lib/decoding/tch_f_decoder_impl.cc
  4. 2
      lib/decoding/tch_h_decoder_impl.cc
  5. 2
      lib/decryption/decryption_impl.cc
  6. 2
      lib/demapping/tch_f_chans_demapper_impl.cc
  7. 2
      lib/demapping/tch_h_chans_demapper_impl.cc
  8. 2
      lib/demapping/universal_ctrl_chans_demapper_impl.cc
  9. 2
      lib/flow_control/burst_fnr_filter_impl.cc
  10. 2
      lib/flow_control/burst_sdcch_subslot_filter_impl.cc
  11. 2
      lib/flow_control/burst_sdcch_subslot_splitter_impl.cc
  12. 2
      lib/flow_control/burst_timeslot_filter_impl.cc
  13. 2
      lib/flow_control/burst_timeslot_splitter_impl.cc
  14. 2
      lib/flow_control/burst_type_filter_impl.cc
  15. 2
      lib/flow_control/dummy_burst_filter_impl.cc
  16. 2
      lib/flow_control/uplink_downlink_splitter_impl.cc
  17. 2
      lib/misc_utils/burst_file_sink_impl.cc
  18. 2
      lib/misc_utils/burst_to_fn_time_impl.cc
  19. 2
      lib/misc_utils/bursts_printer_impl.cc
  20. 2
      lib/misc_utils/collect_system_info_impl.cc
  21. 2
      lib/misc_utils/extract_assignment_cmd_impl.cc
  22. 2
      lib/misc_utils/extract_cmc_impl.cc
  23. 2
      lib/misc_utils/extract_immediate_assignment_impl.cc
  24. 4
      lib/misc_utils/extract_system_info_impl.cc
  25. 2
      lib/misc_utils/message_file_sink_impl.cc
  26. 2
      lib/misc_utils/message_printer_impl.cc
  27. 2
      lib/misc_utils/msg_to_tag_impl.cc
  28. 2
      lib/misc_utils/tmsi_dumper_impl.cc
  29. 2
      lib/qa_utils/burst_sink_impl.cc
  30. 2
      lib/qa_utils/message_sink_impl.cc
  31. 2
      lib/receiver/clock_offset_control_impl.cc
  32. 2
      lib/receiver/cx_channel_hopper_impl.cc
  33. 2
      lib/transmitter/gen_test_ab_impl.cc
  34. 2
      lib/transmitter/preprocess_tx_burst_impl.cc
  35. 4
      lib/transmitter/txtime_setter_impl.cc
  36. 4
      lib/trx/trx_burst_if_impl.cc

@ -28,7 +28,6 @@
#include <boost/function.hpp>
#include <boost/array.hpp>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <pmt/pmt.h>
namespace gr {

@ -70,7 +70,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&control_channels_decoder_impl::decode, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&control_channels_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
}

@ -92,7 +92,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_decoder_impl::decode, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
message_port_register_out(pmt::mp("voice"));

@ -81,7 +81,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_decoder_impl::decode, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
message_port_register_out(pmt::mp("voice"));

@ -61,7 +61,7 @@ namespace gr {
validate_k_c();
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&decryption_impl::decrypt, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&decryption_impl::decrypt, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("bursts"));
}

@ -58,7 +58,7 @@ namespace gr {
// }
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_chans_demapper_impl::filter_tch_chans, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_chans_demapper_impl::filter_tch_chans, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("tch_bursts"));
message_port_register_out(pmt::mp("acch_bursts"));
}

@ -57,7 +57,7 @@ tch_h_chans_demapper_impl::tch_h_chans_demapper_impl(unsigned int timeslot_nr, u
//std::cout << "d_tch_type is " << d_tch_type << ", tch_h_channel is " << tch_h_channel << std::endl;
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_chans_demapper_impl::filter_tch_chans, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_chans_demapper_impl::filter_tch_chans, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("tch_bursts"));
message_port_register_out(pmt::mp("acch_bursts"));
}

@ -75,7 +75,7 @@ namespace gr {
std::copy(uplink_subslots.begin(), uplink_subslots.end(), d_uplink_subslots.begin());
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&universal_ctrl_chans_demapper_impl::filter_ctrl_chans, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&universal_ctrl_chans_demapper_impl::filter_ctrl_chans, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("bursts"));
}

@ -55,7 +55,7 @@ namespace gr {
message_port_register_in(pmt::mp("in"));
message_port_register_out(pmt::mp("out"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_fnr_filter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_fnr_filter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -54,7 +54,7 @@ namespace gr {
message_port_register_in(pmt::mp("in"));
message_port_register_out(pmt::mp("out"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sdcch_subslot_filter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sdcch_subslot_filter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -63,7 +63,7 @@ namespace gr {
message_port_register_out(pmt::mp("out7"));
}
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sdcch_subslot_splitter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sdcch_subslot_splitter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -54,7 +54,7 @@ namespace gr {
message_port_register_in(pmt::mp("in"));
message_port_register_out(pmt::mp("out"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_timeslot_filter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_timeslot_filter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -60,7 +60,7 @@ namespace gr {
message_port_register_out(pmt::mp("out6"));
message_port_register_out(pmt::mp("out7"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_timeslot_splitter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_timeslot_splitter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -55,7 +55,7 @@ namespace gr {
message_port_register_in(pmt::mp("bursts_in"));
message_port_register_out(pmt::mp("bursts_out"));
set_msg_handler(pmt::mp("bursts_in"), boost::bind(&burst_type_filter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("bursts_in"), boost::bind(&burst_type_filter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -66,7 +66,7 @@ namespace gr {
message_port_register_in(pmt::mp("in"));
message_port_register_out(pmt::mp("out"));
set_msg_handler(pmt::mp("in"), boost::bind(&dummy_burst_filter_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&dummy_burst_filter_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -50,7 +50,7 @@ namespace gr {
message_port_register_in(pmt::mp("in"));
message_port_register_out(pmt::mp("uplink"));
message_port_register_out(pmt::mp("downlink"));
set_msg_handler(pmt::mp("in"), boost::bind(&uplink_downlink_splitter_impl::process_msg, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&uplink_downlink_splitter_impl::process_msg, this, boost::placeholders::_1));
}
void uplink_downlink_splitter_impl::process_msg(pmt::pmt_t msg)

@ -48,7 +48,7 @@ namespace gr {
d_output_file(filename.c_str(), std::ofstream::binary)
{
message_port_register_in(pmt::mp("in"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_file_sink_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_file_sink_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -52,7 +52,7 @@ namespace gr {
// Bind a port handler
set_msg_handler(pmt::mp("bursts_in"),
boost::bind(&burst_to_fn_time_impl::handle_burst, this, _1));
boost::bind(&burst_to_fn_time_impl::handle_burst, this, boost::placeholders::_1));
}
/*

@ -155,7 +155,7 @@ namespace gr {
d_ignore_dummy_bursts = ignore_dummy_bursts;
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&bursts_printer_impl::bursts_print, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&bursts_printer_impl::bursts_print, this, boost::placeholders::_1));
}
/*

@ -172,7 +172,7 @@ namespace gr {
gr::io_signature::make(0, 0, 0))
{
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&collect_system_info_impl::process_messages, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&collect_system_info_impl::process_messages, this, boost::placeholders::_1));
}
/*

@ -70,7 +70,7 @@ namespace gr {
gr::io_signature::make(0, 0, 0))
{
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_assignment_cmd_impl::process_messages, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_assignment_cmd_impl::process_messages, this, boost::placeholders::_1));
}
/*

@ -83,7 +83,7 @@ namespace gr {
gr::io_signature::make(0, 0, 0))
{
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_cmc_impl::process_messages, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_cmc_impl::process_messages, this, boost::placeholders::_1));
}
/*

@ -332,7 +332,7 @@ namespace gr {
d_ignore_gprs = ignore_gprs;
d_unique_references = unique_references;
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_immediate_assignment_impl::process_message, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_immediate_assignment_impl::process_message, this, boost::placeholders::_1));
}
/*

@ -304,9 +304,9 @@ namespace gr {
after_reset(false)
{
message_port_register_in(pmt::mp("bursts"));
set_msg_handler(pmt::mp("bursts"), boost::bind(&extract_system_info_impl::process_bursts, this, _1));
set_msg_handler(pmt::mp("bursts"), boost::bind(&extract_system_info_impl::process_bursts, this, boost::placeholders::_1));
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_system_info_impl::process_sysinfo, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&extract_system_info_impl::process_sysinfo, this, boost::placeholders::_1));
}
/*

@ -48,7 +48,7 @@ namespace gr {
d_output_file(filename.c_str(), std::ofstream::binary)
{
message_port_register_in(pmt::mp("in"));
set_msg_handler(pmt::mp("in"), boost::bind(&message_file_sink_impl::process_message, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&message_file_sink_impl::process_message, this, boost::placeholders::_1));
}
/*

@ -108,7 +108,7 @@ namespace gr {
d_prepend_frame_count = prepend_frame_count;
d_print_gsmtap_header = print_gsmtap_header;
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&message_printer_impl::message_print, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&message_printer_impl::message_print, this, boost::placeholders::_1));
}
/*

@ -57,7 +57,7 @@ namespace gr {
gr::io_signature::make(1, 1, sizeof(gr_complex)))
{
message_port_register_in(pmt::mp("msg"));
set_msg_handler(pmt::mp("msg"), boost::bind(&msg_to_tag_impl::queue_msg, this, _1));
set_msg_handler(pmt::mp("msg"), boost::bind(&msg_to_tag_impl::queue_msg, this, boost::placeholders::_1));
}
/*

@ -217,7 +217,7 @@ tmsi_dumper_impl::tmsi_dumper_impl()
{
dump_file.open("tmsicount.txt", std::ios_base::app);
message_port_register_in(pmt::mp("msgs"));
set_msg_handler(pmt::mp("msgs"), boost::bind(&tmsi_dumper_impl::dump_tmsi, this, _1));
set_msg_handler(pmt::mp("msgs"), boost::bind(&tmsi_dumper_impl::dump_tmsi, this, boost::placeholders::_1));
}
/*

@ -51,7 +51,7 @@ namespace gr {
d_bursts(pmt::PMT_NIL)
{
message_port_register_in(pmt::mp("in"));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sink_impl::process_burst, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&burst_sink_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -48,7 +48,7 @@ namespace gr {
gr::io_signature::make(0, 0, 0))
{
message_port_register_in(pmt::mp("in"));
set_msg_handler(pmt::mp("in"), boost::bind(&message_sink_impl::process_message, this, _1));
set_msg_handler(pmt::mp("in"), boost::bind(&message_sink_impl::process_message, this, boost::placeholders::_1));
}
/*

@ -50,7 +50,7 @@ clock_offset_control_impl::clock_offset_control_impl(float fc, float samp_rate,
{
message_port_register_in(pmt::mp("measurements"));
set_msg_handler(pmt::mp("measurements"), boost::bind(&clock_offset_control_impl::process_measurement, this, _1));
set_msg_handler(pmt::mp("measurements"), boost::bind(&clock_offset_control_impl::process_measurement, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("ctrl"));
set_fc(fc);

@ -71,7 +71,7 @@ namespace gr {
}
message_port_register_in(pmt::mp("CX"));
set_msg_handler(pmt::mp("CX"), boost::bind(&cx_channel_hopper_impl::assemble_bursts, this, _1));
set_msg_handler(pmt::mp("CX"), boost::bind(&cx_channel_hopper_impl::assemble_bursts, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("bursts"));
}

@ -62,7 +62,7 @@ namespace gr {
message_port_register_in(pmt::intern("bursts_in"));
message_port_register_out(pmt::intern("bursts_out"));
set_msg_handler(pmt::intern("bursts_in"), boost::bind(&gen_test_ab_impl::generate_ab, this, _1));
set_msg_handler(pmt::intern("bursts_in"), boost::bind(&gen_test_ab_impl::generate_ab, this, boost::placeholders::_1));
}
/*

@ -55,7 +55,7 @@ namespace gr {
message_port_register_out(pmt::mp("bursts_out"));
set_msg_handler(pmt::mp("bursts_in"),
boost::bind(&preprocess_tx_burst_impl::process_burst, this, _1));
boost::bind(&preprocess_tx_burst_impl::process_burst, this, boost::placeholders::_1));
}
/*

@ -76,10 +76,10 @@ namespace gr {
// Bind message handlers
set_msg_handler(pmt::mp("fn_time"),
boost::bind(&txtime_setter_impl::process_fn_time_reference,
this, _1));
this, boost::placeholders::_1));
set_msg_handler(pmt::mp("bursts_in"),
boost::bind(&txtime_setter_impl::process_txtime_of_burst,
this, _1));
this, boost::placeholders::_1));
}
/*

@ -76,7 +76,7 @@ namespace gr {
// Bind a port handler
set_msg_handler(pmt::mp("bursts"),
boost::bind(&trx_burst_if_impl::handle_dl_burst, this, _1));
boost::bind(&trx_burst_if_impl::handle_dl_burst, this, boost::placeholders::_1));
// Prepare port numbers
std::string data_src_port = boost::lexical_cast<std::string> (base_port + 2);
@ -88,7 +88,7 @@ namespace gr {
// Bind DATA interface handler
d_data_sock->udp_rx_handler = boost::bind(
&trx_burst_if_impl::handle_ul_burst, this, _1, _2);
&trx_burst_if_impl::handle_ul_burst, this, boost::placeholders::_1, boost::placeholders::_2);
}
/*

Loading…
Cancel
Save