diff options
author | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
---|---|---|
committer | Ben Reynwar <ben@reynwar.net> | 2013-05-19 02:55:33 -0700 |
commit | bb01988e75d50d82cbb44c1a49c86c1d08f05665 (patch) | |
tree | 0528dac14476d37f2cde7374a8fcb3428f879c69 /gr-blocks/lib/bin_statistics_f_impl.cc | |
parent | e4f0319eced22c112f7e6a4cc45bc2036d285332 (diff) | |
parent | 0fa219774dcf9141ae91204f948c029b05673f3f (diff) |
Merged in next_docs branch.
Diffstat (limited to 'gr-blocks/lib/bin_statistics_f_impl.cc')
-rw-r--r-- | gr-blocks/lib/bin_statistics_f_impl.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gr-blocks/lib/bin_statistics_f_impl.cc b/gr-blocks/lib/bin_statistics_f_impl.cc index 014222a63d..1f17e85365 100644 --- a/gr-blocks/lib/bin_statistics_f_impl.cc +++ b/gr-blocks/lib/bin_statistics_f_impl.cc @@ -25,7 +25,7 @@ #endif #include "bin_statistics_f_impl.h" -#include <gr_io_signature.h> +#include <gnuradio/io_signature.h> #include <string.h> namespace gr { @@ -33,8 +33,8 @@ namespace gr { bin_statistics_f::sptr bin_statistics_f::make(unsigned int vlen, - gr_msg_queue_sptr msgq, - gr_feval_dd *tune, + msg_queue::sptr msgq, + feval_dd *tune, size_t tune_delay, size_t dwell_delay) { @@ -44,13 +44,13 @@ namespace gr { } bin_statistics_f_impl::bin_statistics_f_impl(unsigned int vlen, - gr_msg_queue_sptr msgq, - gr_feval_dd *tune, + msg_queue::sptr msgq, + feval_dd *tune, size_t tune_delay, size_t dwell_delay) - : gr_sync_block("bin_statistics_f", - gr_make_io_signature(1, 1, sizeof(float) * vlen), - gr_make_io_signature(0, 0, 0)), + : sync_block("bin_statistics_f", + io_signature::make(1, 1, sizeof(float) * vlen), + io_signature::make(0, 0, 0)), d_vlen(vlen), d_msgq(msgq), d_tune(tune), d_tune_delay(tune_delay), d_dwell_delay(dwell_delay), d_center_freq(0), d_delay(0), @@ -168,7 +168,7 @@ namespace gr { return; // build & send a message - gr_message_sptr msg = gr_make_message(0, center_freq(), vlen(), vlen() * sizeof(float)); + message::sptr msg = message::make(0, center_freq(), vlen(), vlen() * sizeof(float)); memcpy(msg->msg(), &d_max[0], vlen() * sizeof(float)); msgq()->insert_tail(msg); } |