diff options
author | Thomas Habets <thomas@habets.se> | 2020-03-14 12:01:44 +0000 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2020-04-01 11:44:45 -0400 |
commit | 7a9169fe8cca1cb378be0d0d403e03a338ffbfda (patch) | |
tree | fef77ae9c34538b78e4172580cb5ecdc24d40134 /gr-blocks | |
parent | 82262753a56d15cfa6343044c726cf0035c38d9c (diff) |
Switch from boost pointers to std C++11 pointers
Most of this code is automated code changes:
```
set -e
SUB="s/dummy/dummy/"
for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do
SUB="$SUB;s/boost::$i/std::$i/g"
done
SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g"
SUB="$SUB;s^namespace boost^namespace std^g"
find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB"
```
Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add
`#include <algorithm>`.
Diffstat (limited to 'gr-blocks')
162 files changed, 167 insertions, 167 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/abs_blk.h b/gr-blocks/include/gnuradio/blocks/abs_blk.h index ca6ea7576..9db6f89da 100644 --- a/gr-blocks/include/gnuradio/blocks/abs_blk.h +++ b/gr-blocks/include/gnuradio/blocks/abs_blk.h @@ -32,7 +32,7 @@ class BLOCKS_API abs_blk : virtual public sync_block public: // gr::blocks::abs_blk::sptr - typedef boost::shared_ptr<abs_blk<T>> sptr; + typedef std::shared_ptr<abs_blk<T>> sptr; /*! * \brief Create an instance of abs_blk diff --git a/gr-blocks/include/gnuradio/blocks/add_blk.h b/gr-blocks/include/gnuradio/blocks/add_blk.h index 9ea552805..6209dc809 100644 --- a/gr-blocks/include/gnuradio/blocks/add_blk.h +++ b/gr-blocks/include/gnuradio/blocks/add_blk.h @@ -36,7 +36,7 @@ class BLOCKS_API add_blk : virtual public sync_block { public: // gr::blocks::add_blk::sptr - typedef boost::shared_ptr<add_blk<T>> sptr; + typedef std::shared_ptr<add_blk<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/add_const_bb.h b/gr-blocks/include/gnuradio/blocks/add_const_bb.h index 4d5044ee3..593a46702 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_bb.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_bb.h @@ -25,7 +25,7 @@ class BLOCKS_API add_const_bb : virtual public sync_block { public: // gr::blocks::add_const_bb::sptr - typedef boost::shared_ptr<add_const_bb> sptr; + typedef std::shared_ptr<add_const_bb> sptr; /*! * \brief Create an instance of add_const_bb diff --git a/gr-blocks/include/gnuradio/blocks/add_const_cc.h b/gr-blocks/include/gnuradio/blocks/add_const_cc.h index 2ac830dd9..a33e18e70 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_cc.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_cc.h @@ -26,7 +26,7 @@ class BLOCKS_API add_const_cc : virtual public sync_block { public: // gr::blocks::add_const_cc::sptr - typedef boost::shared_ptr<add_const_cc> sptr; + typedef std::shared_ptr<add_const_cc> sptr; /*! * \brief Create an instance of add_const_cc diff --git a/gr-blocks/include/gnuradio/blocks/add_const_ff.h b/gr-blocks/include/gnuradio/blocks/add_const_ff.h index ac594ca3a..d2e01c27d 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_ff.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_ff.h @@ -26,7 +26,7 @@ class BLOCKS_API add_const_ff : virtual public sync_block { public: // gr::blocks::add_const_ff::sptr - typedef boost::shared_ptr<add_const_ff> sptr; + typedef std::shared_ptr<add_const_ff> sptr; /*! * \brief Create an instance of add_const_ff diff --git a/gr-blocks/include/gnuradio/blocks/add_const_ii.h b/gr-blocks/include/gnuradio/blocks/add_const_ii.h index 939b4ee6d..3855c0b62 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_ii.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_ii.h @@ -25,7 +25,7 @@ class BLOCKS_API add_const_ii : virtual public sync_block { public: // gr::blocks::add_const_ii::sptr - typedef boost::shared_ptr<add_const_ii> sptr; + typedef std::shared_ptr<add_const_ii> sptr; /*! * \brief Create an instance of add_const_ii diff --git a/gr-blocks/include/gnuradio/blocks/add_const_ss.h b/gr-blocks/include/gnuradio/blocks/add_const_ss.h index 66d34d1dd..36701756e 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_ss.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_ss.h @@ -25,7 +25,7 @@ class BLOCKS_API add_const_ss : virtual public sync_block { public: // gr::blocks::add_const_ss::sptr - typedef boost::shared_ptr<add_const_ss> sptr; + typedef std::shared_ptr<add_const_ss> sptr; /*! * \brief Create an instance of add_const_ss diff --git a/gr-blocks/include/gnuradio/blocks/add_const_v.h b/gr-blocks/include/gnuradio/blocks/add_const_v.h index 90ff2638a..03a414442 100644 --- a/gr-blocks/include/gnuradio/blocks/add_const_v.h +++ b/gr-blocks/include/gnuradio/blocks/add_const_v.h @@ -27,7 +27,7 @@ class BLOCKS_API add_const_v : virtual public sync_block { public: - typedef boost::shared_ptr<add_const_v<T>> sptr; + typedef std::shared_ptr<add_const_v<T>> sptr; /*! * \brief Create an instance of add_const_v diff --git a/gr-blocks/include/gnuradio/blocks/and_blk.h b/gr-blocks/include/gnuradio/blocks/and_blk.h index 63920f110..033109204 100644 --- a/gr-blocks/include/gnuradio/blocks/and_blk.h +++ b/gr-blocks/include/gnuradio/blocks/and_blk.h @@ -31,7 +31,7 @@ class BLOCKS_API and_blk : virtual public sync_block { public: // gr::blocks::and_blk::sptr - typedef boost::shared_ptr<and_blk<T>> sptr; + typedef std::shared_ptr<and_blk<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/and_const.h b/gr-blocks/include/gnuradio/blocks/and_const.h index ddd00cb18..094acb3bf 100644 --- a/gr-blocks/include/gnuradio/blocks/and_const.h +++ b/gr-blocks/include/gnuradio/blocks/and_const.h @@ -32,7 +32,7 @@ class BLOCKS_API and_const : virtual public sync_block public: // gr::blocks::and_const::sptr - typedef boost::shared_ptr<and_const<T>> sptr; + typedef std::shared_ptr<and_const<T>> sptr; /*! * \brief Create an instance of and_const diff --git a/gr-blocks/include/gnuradio/blocks/annotator_1to1.h b/gr-blocks/include/gnuradio/blocks/annotator_1to1.h index ce7ba2428..e964e42d9 100644 --- a/gr-blocks/include/gnuradio/blocks/annotator_1to1.h +++ b/gr-blocks/include/gnuradio/blocks/annotator_1to1.h @@ -38,7 +38,7 @@ class BLOCKS_API annotator_1to1 : virtual public sync_block { public: // gr::blocks::annotator_1to1::sptr - typedef boost::shared_ptr<annotator_1to1> sptr; + typedef std::shared_ptr<annotator_1to1> sptr; static sptr make(int when, size_t sizeof_stream_item); diff --git a/gr-blocks/include/gnuradio/blocks/annotator_alltoall.h b/gr-blocks/include/gnuradio/blocks/annotator_alltoall.h index e7e7bd03e..1ee66ad0a 100644 --- a/gr-blocks/include/gnuradio/blocks/annotator_alltoall.h +++ b/gr-blocks/include/gnuradio/blocks/annotator_alltoall.h @@ -38,7 +38,7 @@ class BLOCKS_API annotator_alltoall : virtual public sync_block { public: // gr::blocks::annotator_alltoall::sptr - typedef boost::shared_ptr<annotator_alltoall> sptr; + typedef std::shared_ptr<annotator_alltoall> sptr; static sptr make(int when, size_t sizeof_stream_item); diff --git a/gr-blocks/include/gnuradio/blocks/annotator_raw.h b/gr-blocks/include/gnuradio/blocks/annotator_raw.h index fd64f0fc4..92dd7a370 100644 --- a/gr-blocks/include/gnuradio/blocks/annotator_raw.h +++ b/gr-blocks/include/gnuradio/blocks/annotator_raw.h @@ -33,7 +33,7 @@ class BLOCKS_API annotator_raw : virtual public sync_block { public: // gr::blocks::annotator_raw::sptr - typedef boost::shared_ptr<annotator_raw> sptr; + typedef std::shared_ptr<annotator_raw> sptr; static sptr make(size_t sizeof_stream_item); diff --git a/gr-blocks/include/gnuradio/blocks/argmax.h b/gr-blocks/include/gnuradio/blocks/argmax.h index bc0edf300..48d8d0503 100644 --- a/gr-blocks/include/gnuradio/blocks/argmax.h +++ b/gr-blocks/include/gnuradio/blocks/argmax.h @@ -39,7 +39,7 @@ template <class T> class BLOCKS_API argmax : virtual public sync_block { public: - typedef boost::shared_ptr<argmax<T>> sptr; + typedef std::shared_ptr<argmax<T>> sptr; static sptr make(size_t vlen); }; diff --git a/gr-blocks/include/gnuradio/blocks/bin_statistics_f.h b/gr-blocks/include/gnuradio/blocks/bin_statistics_f.h index cb4224b93..5eb95a2cf 100644 --- a/gr-blocks/include/gnuradio/blocks/bin_statistics_f.h +++ b/gr-blocks/include/gnuradio/blocks/bin_statistics_f.h @@ -38,7 +38,7 @@ protected: public: // gr::blocks::bin_statistics_f::sptr - typedef boost::shared_ptr<bin_statistics_f> sptr; + typedef std::shared_ptr<bin_statistics_f> sptr; /*! * Build a bin statistics block. See qa_bin_statistics.py and diff --git a/gr-blocks/include/gnuradio/blocks/burst_tagger.h b/gr-blocks/include/gnuradio/blocks/burst_tagger.h index 05c4fec7e..3fc4a8718 100644 --- a/gr-blocks/include/gnuradio/blocks/burst_tagger.h +++ b/gr-blocks/include/gnuradio/blocks/burst_tagger.h @@ -36,7 +36,7 @@ class BLOCKS_API burst_tagger : virtual public sync_block { public: // gr::blocks::burst_tagger::sptr - typedef boost::shared_ptr<burst_tagger> sptr; + typedef std::shared_ptr<burst_tagger> sptr; /*! * Build a burst tagger gnuradio/blocks. diff --git a/gr-blocks/include/gnuradio/blocks/char_to_float.h b/gr-blocks/include/gnuradio/blocks/char_to_float.h index 45faf4470..fc3712626 100644 --- a/gr-blocks/include/gnuradio/blocks/char_to_float.h +++ b/gr-blocks/include/gnuradio/blocks/char_to_float.h @@ -31,7 +31,7 @@ class BLOCKS_API char_to_float : virtual public sync_block { public: // gr::blocks::char_to_float_ff::sptr - typedef boost::shared_ptr<char_to_float> sptr; + typedef std::shared_ptr<char_to_float> sptr; /*! * Build a chars to float stream converter block. diff --git a/gr-blocks/include/gnuradio/blocks/char_to_short.h b/gr-blocks/include/gnuradio/blocks/char_to_short.h index 866b47f4c..73d92ee27 100644 --- a/gr-blocks/include/gnuradio/blocks/char_to_short.h +++ b/gr-blocks/include/gnuradio/blocks/char_to_short.h @@ -31,7 +31,7 @@ class BLOCKS_API char_to_short : virtual public sync_block { public: // gr::blocks::char_to_short_ff::sptr - typedef boost::shared_ptr<char_to_short> sptr; + typedef std::shared_ptr<char_to_short> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/check_lfsr_32k_s.h b/gr-blocks/include/gnuradio/blocks/check_lfsr_32k_s.h index 6c79994c0..dd4000f5b 100644 --- a/gr-blocks/include/gnuradio/blocks/check_lfsr_32k_s.h +++ b/gr-blocks/include/gnuradio/blocks/check_lfsr_32k_s.h @@ -30,7 +30,7 @@ class BLOCKS_API check_lfsr_32k_s : virtual public sync_block { public: // gr::blocks::check_lfsr_32k_s::sptr - typedef boost::shared_ptr<check_lfsr_32k_s> sptr; + typedef std::shared_ptr<check_lfsr_32k_s> sptr; static sptr make(); diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_arg.h b/gr-blocks/include/gnuradio/blocks/complex_to_arg.h index 1e4b9af8a..fb551592b 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_arg.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_arg.h @@ -25,7 +25,7 @@ class BLOCKS_API complex_to_arg : virtual public sync_block { public: // gr::blocks::complex_to_arg_ff::sptr - typedef boost::shared_ptr<complex_to_arg> sptr; + typedef std::shared_ptr<complex_to_arg> sptr; /*! * Build a complex to arg block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_float.h b/gr-blocks/include/gnuradio/blocks/complex_to_float.h index f5ca7317f..e0f46de6d 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_float.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_float.h @@ -31,7 +31,7 @@ class BLOCKS_API complex_to_float : virtual public sync_block { public: // gr::blocks::complex_to_float_ff::sptr - typedef boost::shared_ptr<complex_to_float> sptr; + typedef std::shared_ptr<complex_to_float> sptr; /*! * Build a complex to float block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_imag.h b/gr-blocks/include/gnuradio/blocks/complex_to_imag.h index 0a5adb1bf..ce92dc406 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_imag.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_imag.h @@ -25,7 +25,7 @@ class BLOCKS_API complex_to_imag : virtual public sync_block { public: // gr::blocks::complex_to_imag_ff::sptr - typedef boost::shared_ptr<complex_to_imag> sptr; + typedef std::shared_ptr<complex_to_imag> sptr; /*! * Build a complex to imaginary part block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_char.h b/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_char.h index 38f6a4042..705d2f6ce 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_char.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_char.h @@ -34,7 +34,7 @@ class BLOCKS_API complex_to_interleaved_char : virtual public sync_interpolator { public: // gr::blocks::complex_to_interleaved_char::sptr - typedef boost::shared_ptr<complex_to_interleaved_char> sptr; + typedef std::shared_ptr<complex_to_interleaved_char> sptr; /*! * Build a complex to interleaved chars block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_short.h b/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_short.h index 81c49e335..1fb9666ed 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_short.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_interleaved_short.h @@ -34,7 +34,7 @@ class BLOCKS_API complex_to_interleaved_short : virtual public sync_interpolator { public: // gr::blocks::complex_to_interleaved_short::sptr - typedef boost::shared_ptr<complex_to_interleaved_short> sptr; + typedef std::shared_ptr<complex_to_interleaved_short> sptr; /*! * Build a complex to interleaved shorts block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_mag.h b/gr-blocks/include/gnuradio/blocks/complex_to_mag.h index a09304217..c2bfd07d0 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_mag.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_mag.h @@ -38,7 +38,7 @@ class BLOCKS_API complex_to_mag : virtual public sync_block { public: // gr::blocks::complex_to_mag_ff::sptr - typedef boost::shared_ptr<complex_to_mag> sptr; + typedef std::shared_ptr<complex_to_mag> sptr; /*! * Build a complex to magnitude block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_mag_squared.h b/gr-blocks/include/gnuradio/blocks/complex_to_mag_squared.h index f38347e6d..c95b44111 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_mag_squared.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_mag_squared.h @@ -38,7 +38,7 @@ class BLOCKS_API complex_to_mag_squared : virtual public sync_block { public: // gr::blocks::complex_to_mag_squared_ff::sptr - typedef boost::shared_ptr<complex_to_mag_squared> sptr; + typedef std::shared_ptr<complex_to_mag_squared> sptr; /*! * Build a complex to magnitude squared block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h b/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h index 46c4b10b2..25b8f42d1 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h @@ -29,7 +29,7 @@ class BLOCKS_API complex_to_magphase : virtual public sync_block { public: // gr::blocks::complex_to_magphase_ff::sptr - typedef boost::shared_ptr<complex_to_magphase> sptr; + typedef std::shared_ptr<complex_to_magphase> sptr; /*! * Build a complex to magnitude and phase block. diff --git a/gr-blocks/include/gnuradio/blocks/complex_to_real.h b/gr-blocks/include/gnuradio/blocks/complex_to_real.h index f86b9ae70..22ef34972 100644 --- a/gr-blocks/include/gnuradio/blocks/complex_to_real.h +++ b/gr-blocks/include/gnuradio/blocks/complex_to_real.h @@ -25,7 +25,7 @@ class BLOCKS_API complex_to_real : virtual public sync_block { public: // gr::blocks::complex_to_real_ff::sptr - typedef boost::shared_ptr<complex_to_real> sptr; + typedef std::shared_ptr<complex_to_real> sptr; /*! * Build a complex to real part block. diff --git a/gr-blocks/include/gnuradio/blocks/conjugate_cc.h b/gr-blocks/include/gnuradio/blocks/conjugate_cc.h index fac359621..ff646919f 100644 --- a/gr-blocks/include/gnuradio/blocks/conjugate_cc.h +++ b/gr-blocks/include/gnuradio/blocks/conjugate_cc.h @@ -25,7 +25,7 @@ class BLOCKS_API conjugate_cc : virtual public sync_block { public: // gr::blocks::conjugate_cc_ff::sptr - typedef boost::shared_ptr<conjugate_cc> sptr; + typedef std::shared_ptr<conjugate_cc> sptr; static sptr make(); }; diff --git a/gr-blocks/include/gnuradio/blocks/copy.h b/gr-blocks/include/gnuradio/blocks/copy.h index 9718d6728..9d36609d7 100644 --- a/gr-blocks/include/gnuradio/blocks/copy.h +++ b/gr-blocks/include/gnuradio/blocks/copy.h @@ -35,7 +35,7 @@ class BLOCKS_API copy : virtual public block { public: // gr::blocks::copy::sptr - typedef boost::shared_ptr<copy> sptr; + typedef std::shared_ptr<copy> sptr; static sptr make(size_t itemsize); diff --git a/gr-blocks/include/gnuradio/blocks/correctiq.h b/gr-blocks/include/gnuradio/blocks/correctiq.h index f7ebe497c..3d466364c 100644 --- a/gr-blocks/include/gnuradio/blocks/correctiq.h +++ b/gr-blocks/include/gnuradio/blocks/correctiq.h @@ -25,7 +25,7 @@ namespace blocks { class BLOCKS_API correctiq : virtual public gr::sync_block { public: - typedef boost::shared_ptr<correctiq> sptr; + typedef std::shared_ptr<correctiq> sptr; /*! * \brief Return a shared_ptr to a new instance of correctiq::correctiq. diff --git a/gr-blocks/include/gnuradio/blocks/correctiq_auto.h b/gr-blocks/include/gnuradio/blocks/correctiq_auto.h index 128c3cdf6..2ae9864b5 100644 --- a/gr-blocks/include/gnuradio/blocks/correctiq_auto.h +++ b/gr-blocks/include/gnuradio/blocks/correctiq_auto.h @@ -29,7 +29,7 @@ namespace blocks { class BLOCKS_API correctiq_auto : virtual public gr::sync_block { public: - typedef boost::shared_ptr<correctiq_auto> sptr; + typedef std::shared_ptr<correctiq_auto> sptr; /*! * \brief Return a shared_ptr to a new instance of correctiq::correctiq_auto. diff --git a/gr-blocks/include/gnuradio/blocks/correctiq_man.h b/gr-blocks/include/gnuradio/blocks/correctiq_man.h index 0d46f0c0b..a9cf6f85a 100644 --- a/gr-blocks/include/gnuradio/blocks/correctiq_man.h +++ b/gr-blocks/include/gnuradio/blocks/correctiq_man.h @@ -27,7 +27,7 @@ namespace blocks { class BLOCKS_API correctiq_man : virtual public gr::sync_block { public: - typedef boost::shared_ptr<correctiq_man> sptr; + typedef std::shared_ptr<correctiq_man> sptr; /*! * \brief Return a shared_ptr to a new instance of correctiq::correctiq_man. diff --git a/gr-blocks/include/gnuradio/blocks/correctiq_swapiq.h b/gr-blocks/include/gnuradio/blocks/correctiq_swapiq.h index 35a18649b..34675c4ec 100644 --- a/gr-blocks/include/gnuradio/blocks/correctiq_swapiq.h +++ b/gr-blocks/include/gnuradio/blocks/correctiq_swapiq.h @@ -26,7 +26,7 @@ namespace blocks { class BLOCKS_API swap_iq : virtual public gr::sync_block { public: - typedef boost::shared_ptr<swap_iq> sptr; + typedef std::shared_ptr<swap_iq> sptr; /*! * \brief Return a shared_ptr to a new instance of correctiq::swap_iq. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_b.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_b.h index 0a6526645..7847407f7 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_b.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_b.h @@ -32,7 +32,7 @@ class BLOCKS_API ctrlport_probe2_b : virtual public sync_block { public: // gr::blocks::ctrlport_probe2_b::sptr - typedef boost::shared_ptr<ctrlport_probe2_b> sptr; + typedef std::shared_ptr<ctrlport_probe2_b> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_c.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_c.h index 7989d58bd..1dabc68e1 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_c.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_c.h @@ -32,7 +32,7 @@ class BLOCKS_API ctrlport_probe2_c : virtual public sync_block { public: // gr::blocks::ctrlport_probe2_c::sptr - typedef boost::shared_ptr<ctrlport_probe2_c> sptr; + typedef std::shared_ptr<ctrlport_probe2_c> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_f.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_f.h index 6a4cf238a..d16bc4c32 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_f.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_f.h @@ -32,7 +32,7 @@ class BLOCKS_API ctrlport_probe2_f : virtual public sync_block { public: // gr::blocks::ctrlport_probe2_f::sptr - typedef boost::shared_ptr<ctrlport_probe2_f> sptr; + typedef std::shared_ptr<ctrlport_probe2_f> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_i.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_i.h index cb3c3324e..be994bea1 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_i.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_i.h @@ -32,7 +32,7 @@ class BLOCKS_API ctrlport_probe2_i : virtual public sync_block { public: // gr::blocks::ctrlport_probe2_i::sptr - typedef boost::shared_ptr<ctrlport_probe2_i> sptr; + typedef std::shared_ptr<ctrlport_probe2_i> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_s.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_s.h index b72817ee8..1c86f0e63 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_s.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe2_s.h @@ -32,7 +32,7 @@ class BLOCKS_API ctrlport_probe2_s : virtual public sync_block { public: // gr::blocks::ctrlport_probe2_s::sptr - typedef boost::shared_ptr<ctrlport_probe2_s> sptr; + typedef std::shared_ptr<ctrlport_probe2_s> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/ctrlport_probe_c.h b/gr-blocks/include/gnuradio/blocks/ctrlport_probe_c.h index 36095781b..4415c624a 100644 --- a/gr-blocks/include/gnuradio/blocks/ctrlport_probe_c.h +++ b/gr-blocks/include/gnuradio/blocks/ctrlport_probe_c.h @@ -34,7 +34,7 @@ class BLOCKS_API ctrlport_probe_c : virtual public sync_block { public: // gr::blocks::ctrlport_probe_c::sptr - typedef boost::shared_ptr<ctrlport_probe_c> sptr; + typedef std::shared_ptr<ctrlport_probe_c> sptr; /*! * \brief Make a ControlPort probe block. diff --git a/gr-blocks/include/gnuradio/blocks/deinterleave.h b/gr-blocks/include/gnuradio/blocks/deinterleave.h index bba16544c..9d4b1d952 100644 --- a/gr-blocks/include/gnuradio/blocks/deinterleave.h +++ b/gr-blocks/include/gnuradio/blocks/deinterleave.h @@ -48,7 +48,7 @@ class BLOCKS_API deinterleave : virtual public block { public: // gr::blocks::deinterleave::sptr - typedef boost::shared_ptr<deinterleave> sptr; + typedef std::shared_ptr<deinterleave> sptr; /*! * Make a deinterleave block. diff --git a/gr-blocks/include/gnuradio/blocks/delay.h b/gr-blocks/include/gnuradio/blocks/delay.h index 604edfc16..46e5bbba8 100644 --- a/gr-blocks/include/gnuradio/blocks/delay.h +++ b/gr-blocks/include/gnuradio/blocks/delay.h @@ -33,7 +33,7 @@ class BLOCKS_API delay : virtual public block { public: // gr::blocks::delay::sptr - typedef boost::shared_ptr<delay> sptr; + typedef std::shared_ptr<delay> sptr; /*! * \brief Make a delay block. diff --git a/gr-blocks/include/gnuradio/blocks/divide.h b/gr-blocks/include/gnuradio/blocks/divide.h index 9f10dc325..df5cfaf1d 100644 --- a/gr-blocks/include/gnuradio/blocks/divide.h +++ b/gr-blocks/include/gnuradio/blocks/divide.h @@ -31,7 +31,7 @@ class BLOCKS_API divide : virtual public sync_block { public: // gr::blocks::divide::sptr - typedef boost::shared_ptr<divide<T>> sptr; + typedef std::shared_ptr<divide<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/endian_swap.h b/gr-blocks/include/gnuradio/blocks/endian_swap.h index 57f671d1d..72f045d71 100644 --- a/gr-blocks/include/gnuradio/blocks/endian_swap.h +++ b/gr-blocks/include/gnuradio/blocks/endian_swap.h @@ -25,7 +25,7 @@ class BLOCKS_API endian_swap : virtual public sync_block { public: // gr::blocks::endian_swap::sptr - typedef boost::shared_ptr<endian_swap> sptr; + typedef std::shared_ptr<endian_swap> sptr; /*! * Make an endian swap block. diff --git a/gr-blocks/include/gnuradio/blocks/exponentiate_const_cci.h b/gr-blocks/include/gnuradio/blocks/exponentiate_const_cci.h index 6d309f68a..51cf033e2 100644 --- a/gr-blocks/include/gnuradio/blocks/exponentiate_const_cci.h +++ b/gr-blocks/include/gnuradio/blocks/exponentiate_const_cci.h @@ -34,7 +34,7 @@ namespace blocks { class BLOCKS_API exponentiate_const_cci : virtual public gr::sync_block { public: - typedef boost::shared_ptr<exponentiate_const_cci> sptr; + typedef std::shared_ptr<exponentiate_const_cci> sptr; /* * \param exponent Exponent the input stream is raised to, which must be an integer. diff --git a/gr-blocks/include/gnuradio/blocks/file_descriptor_sink.h b/gr-blocks/include/gnuradio/blocks/file_descriptor_sink.h index f16d7f45f..9eef8cb7a 100644 --- a/gr-blocks/include/gnuradio/blocks/file_descriptor_sink.h +++ b/gr-blocks/include/gnuradio/blocks/file_descriptor_sink.h @@ -25,7 +25,7 @@ class BLOCKS_API file_descriptor_sink : virtual public sync_block { public: // gr::blocks::file_descriptor_sink::sptr - typedef boost::shared_ptr<file_descriptor_sink> sptr; + typedef std::shared_ptr<file_descriptor_sink> sptr; /*! * Build a file descriptor sink block. The provided file descriptor will diff --git a/gr-blocks/include/gnuradio/blocks/file_descriptor_source.h b/gr-blocks/include/gnuradio/blocks/file_descriptor_source.h index f9228facb..df692c9ba 100644 --- a/gr-blocks/include/gnuradio/blocks/file_descriptor_source.h +++ b/gr-blocks/include/gnuradio/blocks/file_descriptor_source.h @@ -31,7 +31,7 @@ protected: public: // gr::blocks::file_descriptor_source::sptr - typedef boost::shared_ptr<file_descriptor_source> sptr; + typedef std::shared_ptr<file_descriptor_source> sptr; /*! * Build a file descriptor source block. The provided file descriptor will diff --git a/gr-blocks/include/gnuradio/blocks/file_meta_sink.h b/gr-blocks/include/gnuradio/blocks/file_meta_sink.h index 1329c5d9c..c9154bc20 100644 --- a/gr-blocks/include/gnuradio/blocks/file_meta_sink.h +++ b/gr-blocks/include/gnuradio/blocks/file_meta_sink.h @@ -59,7 +59,7 @@ class BLOCKS_API file_meta_sink : virtual public sync_block { public: // gr::blocks::file_meta_sink::sptr - typedef boost::shared_ptr<file_meta_sink> sptr; + typedef std::shared_ptr<file_meta_sink> sptr; /*! * \brief Create a meta-data file sink. diff --git a/gr-blocks/include/gnuradio/blocks/file_meta_source.h b/gr-blocks/include/gnuradio/blocks/file_meta_source.h index b2bec2c27..73056070c 100644 --- a/gr-blocks/include/gnuradio/blocks/file_meta_source.h +++ b/gr-blocks/include/gnuradio/blocks/file_meta_source.h @@ -40,7 +40,7 @@ class BLOCKS_API file_meta_source : virtual public sync_block { public: // gr::blocks::file_meta_source::sptr - typedef boost::shared_ptr<file_meta_source> sptr; + typedef std::shared_ptr<file_meta_source> sptr; /*! * \brief Create a meta-data file source. diff --git a/gr-blocks/include/gnuradio/blocks/file_sink.h b/gr-blocks/include/gnuradio/blocks/file_sink.h index bf48deb9e..84514ab4b 100644 --- a/gr-blocks/include/gnuradio/blocks/file_sink.h +++ b/gr-blocks/include/gnuradio/blocks/file_sink.h @@ -26,7 +26,7 @@ class BLOCKS_API file_sink : virtual public sync_block, virtual public file_sink { public: // gr::blocks::file_sink::sptr - typedef boost::shared_ptr<file_sink> sptr; + typedef std::shared_ptr<file_sink> sptr; /*! * \brief Make a file sink. diff --git a/gr-blocks/include/gnuradio/blocks/file_source.h b/gr-blocks/include/gnuradio/blocks/file_source.h index a404aa992..9005cc53f 100644 --- a/gr-blocks/include/gnuradio/blocks/file_source.h +++ b/gr-blocks/include/gnuradio/blocks/file_source.h @@ -25,7 +25,7 @@ class BLOCKS_API file_source : virtual public sync_block { public: // gr::blocks::file_source::sptr - typedef boost::shared_ptr<file_source> sptr; + typedef std::shared_ptr<file_source> sptr; /*! * \brief Create a file source. diff --git a/gr-blocks/include/gnuradio/blocks/float_to_char.h b/gr-blocks/include/gnuradio/blocks/float_to_char.h index 08090ec66..60c388030 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_char.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_char.h @@ -25,7 +25,7 @@ class BLOCKS_API float_to_char : virtual public sync_block { public: // gr::blocks::float_to_char_ff::sptr - typedef boost::shared_ptr<float_to_char> sptr; + typedef std::shared_ptr<float_to_char> sptr; /*! * Build a float to char block. diff --git a/gr-blocks/include/gnuradio/blocks/float_to_complex.h b/gr-blocks/include/gnuradio/blocks/float_to_complex.h index d30ccca8e..3762a221e 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_complex.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_complex.h @@ -25,7 +25,7 @@ class BLOCKS_API float_to_complex : virtual public sync_block { public: // gr::blocks::float_to_complex_ff::sptr - typedef boost::shared_ptr<float_to_complex> sptr; + typedef std::shared_ptr<float_to_complex> sptr; /*! * Build a float to complex block. diff --git a/gr-blocks/include/gnuradio/blocks/float_to_int.h b/gr-blocks/include/gnuradio/blocks/float_to_int.h index 1b0fa1a74..37a146661 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_int.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_int.h @@ -25,7 +25,7 @@ class BLOCKS_API float_to_int : virtual public sync_block { public: // gr::blocks::float_to_int_ff::sptr - typedef boost::shared_ptr<float_to_int> sptr; + typedef std::shared_ptr<float_to_int> sptr; /*! * Build a float to int block. diff --git a/gr-blocks/include/gnuradio/blocks/float_to_short.h b/gr-blocks/include/gnuradio/blocks/float_to_short.h index 313815d7d..97f908f45 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_short.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_short.h @@ -25,7 +25,7 @@ class BLOCKS_API float_to_short : virtual public sync_block { public: // gr::blocks::float_to_short_ff::sptr - typedef boost::shared_ptr<float_to_short> sptr; + typedef std::shared_ptr<float_to_short> sptr; /*! * Build a float to short block. diff --git a/gr-blocks/include/gnuradio/blocks/float_to_uchar.h b/gr-blocks/include/gnuradio/blocks/float_to_uchar.h index 53dada97c..50296f6a7 100644 --- a/gr-blocks/include/gnuradio/blocks/float_to_uchar.h +++ b/gr-blocks/include/gnuradio/blocks/float_to_uchar.h @@ -25,7 +25,7 @@ class BLOCKS_API float_to_uchar : virtual public sync_block { public: // gr::blocks::float_to_uchar_ff::sptr - typedef boost::shared_ptr<float_to_uchar> sptr; + typedef std::shared_ptr<float_to_uchar> sptr; /*! * Build a float to uchar block. diff --git a/gr-blocks/include/gnuradio/blocks/head.h b/gr-blocks/include/gnuradio/blocks/head.h index 67192ef00..be27249f5 100644 --- a/gr-blocks/include/gnuradio/blocks/head.h +++ b/gr-blocks/include/gnuradio/blocks/head.h @@ -29,7 +29,7 @@ class BLOCKS_API head : virtual public sync_block { public: // gr::blocks::head::sptr - typedef boost::shared_ptr<head> sptr; + typedef std::shared_ptr<head> sptr; static sptr make(size_t sizeof_stream_item, uint64_t nitems); diff --git a/gr-blocks/include/gnuradio/blocks/int_to_float.h b/gr-blocks/include/gnuradio/blocks/int_to_float.h index 13abef982..261b885c2 100644 --- a/gr-blocks/include/gnuradio/blocks/int_to_float.h +++ b/gr-blocks/include/gnuradio/blocks/int_to_float.h @@ -25,7 +25,7 @@ class BLOCKS_API int_to_float : virtual public sync_block { public: // gr::blocks::int_to_float_ff::sptr - typedef boost::shared_ptr<int_to_float> sptr; + typedef std::shared_ptr<int_to_float> sptr; /*! * Build an int to float block. diff --git a/gr-blocks/include/gnuradio/blocks/integrate.h b/gr-blocks/include/gnuradio/blocks/integrate.h index bb3dd7da8..012db7354 100644 --- a/gr-blocks/include/gnuradio/blocks/integrate.h +++ b/gr-blocks/include/gnuradio/blocks/integrate.h @@ -28,7 +28,7 @@ class BLOCKS_API integrate : virtual public sync_decimator { public: // gr::blocks::integrate::sptr - typedef boost::shared_ptr<integrate<T>> sptr; + typedef std::shared_ptr<integrate<T>> sptr; static sptr make(int decim, unsigned int vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/interleave.h b/gr-blocks/include/gnuradio/blocks/interleave.h index ef018bb64..6d120caa0 100644 --- a/gr-blocks/include/gnuradio/blocks/interleave.h +++ b/gr-blocks/include/gnuradio/blocks/interleave.h @@ -49,7 +49,7 @@ class BLOCKS_API interleave : virtual public block { public: // gr::blocks::interleave::sptr - typedef boost::shared_ptr<interleave> sptr; + typedef std::shared_ptr<interleave> sptr; /*! * Make a stream interleave block. diff --git a/gr-blocks/include/gnuradio/blocks/interleaved_char_to_complex.h b/gr-blocks/include/gnuradio/blocks/interleaved_char_to_complex.h index 6d6c4fce5..6277f1ea9 100644 --- a/gr-blocks/include/gnuradio/blocks/interleaved_char_to_complex.h +++ b/gr-blocks/include/gnuradio/blocks/interleaved_char_to_complex.h @@ -25,7 +25,7 @@ class BLOCKS_API interleaved_char_to_complex : virtual public sync_decimator { public: // gr::blocks::interleaved_char_to_complex::sptr - typedef boost::shared_ptr<interleaved_char_to_complex> sptr; + typedef std::shared_ptr<interleaved_char_to_complex> sptr; /*! * Build an interleaved char to complex block. diff --git a/gr-blocks/include/gnuradio/blocks/interleaved_short_to_complex.h b/gr-blocks/include/gnuradio/blocks/interleaved_short_to_complex.h index 8ddfaa6c1..abaf3c4f0 100644 --- a/gr-blocks/include/gnuradio/blocks/interleaved_short_to_complex.h +++ b/gr-blocks/include/gnuradio/blocks/interleaved_short_to_complex.h @@ -25,7 +25,7 @@ class BLOCKS_API interleaved_short_to_complex : virtual public sync_decimator { public: // gr::blocks::interleaved_short_to_complex::sptr - typedef boost::shared_ptr<interleaved_short_to_complex> sptr; + typedef std::shared_ptr<interleaved_short_to_complex> sptr; /*! * Build an interleaved short to complex block. diff --git a/gr-blocks/include/gnuradio/blocks/keep_m_in_n.h b/gr-blocks/include/gnuradio/blocks/keep_m_in_n.h index 957394e4b..3ff4aed89 100644 --- a/gr-blocks/include/gnuradio/blocks/keep_m_in_n.h +++ b/gr-blocks/include/gnuradio/blocks/keep_m_in_n.h @@ -25,7 +25,7 @@ class BLOCKS_API keep_m_in_n : virtual public block { public: // gr::blocks::keep_m_in_n::sptr - typedef boost::shared_ptr<keep_m_in_n> sptr; + typedef std::shared_ptr<keep_m_in_n> sptr; /*! * Make a keep m in n block. diff --git a/gr-blocks/include/gnuradio/blocks/keep_one_in_n.h b/gr-blocks/include/gnuradio/blocks/keep_one_in_n.h index 1df562ba0..257fee7d8 100644 --- a/gr-blocks/include/gnuradio/blocks/keep_one_in_n.h +++ b/gr-blocks/include/gnuradio/blocks/keep_one_in_n.h @@ -25,7 +25,7 @@ class BLOCKS_API keep_one_in_n : virtual public block { public: // gr::blocks::keep_one_in_n::sptr - typedef boost::shared_ptr<keep_one_in_n> sptr; + typedef std::shared_ptr<keep_one_in_n> sptr; /*! * Make a keep one in n block. diff --git a/gr-blocks/include/gnuradio/blocks/lfsr_32k_source_s.h b/gr-blocks/include/gnuradio/blocks/lfsr_32k_source_s.h index cbb287ef4..f64077f08 100644 --- a/gr-blocks/include/gnuradio/blocks/lfsr_32k_source_s.h +++ b/gr-blocks/include/gnuradio/blocks/lfsr_32k_source_s.h @@ -30,7 +30,7 @@ class BLOCKS_API lfsr_32k_source_s : virtual public sync_block { public: // gr::blocks::lfsr_32k_source_s::sptr - typedef boost::shared_ptr<lfsr_32k_source_s> sptr; + typedef std::shared_ptr<lfsr_32k_source_s> sptr; /*! * \brief Make a LFSR 32k source block. diff --git a/gr-blocks/include/gnuradio/blocks/magphase_to_complex.h b/gr-blocks/include/gnuradio/blocks/magphase_to_complex.h index c320a574d..6bf75de33 100644 --- a/gr-blocks/include/gnuradio/blocks/magphase_to_complex.h +++ b/gr-blocks/include/gnuradio/blocks/magphase_to_complex.h @@ -25,7 +25,7 @@ class BLOCKS_API magphase_to_complex : virtual public sync_block { public: // gr::blocks::magphase_to_complex_ff::sptr - typedef boost::shared_ptr<magphase_to_complex> sptr; + typedef std::shared_ptr<magphase_to_complex> sptr; /*! * Build a mag and phase to complex block. diff --git a/gr-blocks/include/gnuradio/blocks/max_blk.h b/gr-blocks/include/gnuradio/blocks/max_blk.h index 5fd37a590..4353308f1 100644 --- a/gr-blocks/include/gnuradio/blocks/max_blk.h +++ b/gr-blocks/include/gnuradio/blocks/max_blk.h @@ -39,7 +39,7 @@ class BLOCKS_API max_blk : virtual public sync_block { public: // gr::blocks::max_blk::sptr - typedef boost::shared_ptr<max_blk<T>> sptr; + typedef std::shared_ptr<max_blk<T>> sptr; static sptr make(size_t vlen, size_t vlen_out = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/message_debug.h b/gr-blocks/include/gnuradio/blocks/message_debug.h index 6b0c2ec18..29d92e306 100644 --- a/gr-blocks/include/gnuradio/blocks/message_debug.h +++ b/gr-blocks/include/gnuradio/blocks/message_debug.h @@ -40,7 +40,7 @@ class BLOCKS_API message_debug : virtual public block { public: // gr::blocks::message_debug::sptr - typedef boost::shared_ptr<message_debug> sptr; + typedef std::shared_ptr<message_debug> sptr; /*! * \brief Build the message debug block. It takes no parameters diff --git a/gr-blocks/include/gnuradio/blocks/message_strobe.h b/gr-blocks/include/gnuradio/blocks/message_strobe.h index 470aefe53..01f9e277e 100644 --- a/gr-blocks/include/gnuradio/blocks/message_strobe.h +++ b/gr-blocks/include/gnuradio/blocks/message_strobe.h @@ -29,7 +29,7 @@ class BLOCKS_API message_strobe : virtual public block { public: // gr::blocks::message_strobe::sptr - typedef boost::shared_ptr<message_strobe> sptr; + typedef std::shared_ptr<message_strobe> sptr; /*! * Make a message stobe block to send message \p msg every \p diff --git a/gr-blocks/include/gnuradio/blocks/message_strobe_random.h b/gr-blocks/include/gnuradio/blocks/message_strobe_random.h index 4267d2775..7f744b89e 100644 --- a/gr-blocks/include/gnuradio/blocks/message_strobe_random.h +++ b/gr-blocks/include/gnuradio/blocks/message_strobe_random.h @@ -41,7 +41,7 @@ class BLOCKS_API message_strobe_random : virtual public block { public: // gr::blocks::message_strobe_random::sptr - typedef boost::shared_ptr<message_strobe_random> sptr; + typedef std::shared_ptr<message_strobe_random> sptr; /*! * Make a message stobe block to sends message \p msg at random diff --git a/gr-blocks/include/gnuradio/blocks/min_blk.h b/gr-blocks/include/gnuradio/blocks/min_blk.h index 78b4372bd..652a3a35c 100644 --- a/gr-blocks/include/gnuradio/blocks/min_blk.h +++ b/gr-blocks/include/gnuradio/blocks/min_blk.h @@ -38,7 +38,7 @@ template <class T> class BLOCKS_API min_blk : virtual public sync_block { public: - typedef boost::shared_ptr<min_blk<T>> sptr; + typedef std::shared_ptr<min_blk<T>> sptr; static sptr make(size_t vlen, size_t vlen_out = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/moving_average.h b/gr-blocks/include/gnuradio/blocks/moving_average.h index 097fbf053..f6af94851 100644 --- a/gr-blocks/include/gnuradio/blocks/moving_average.h +++ b/gr-blocks/include/gnuradio/blocks/moving_average.h @@ -28,7 +28,7 @@ class BLOCKS_API moving_average : virtual public sync_block { public: // gr::blocks::moving_average::sptr - typedef boost::shared_ptr<moving_average<T>> sptr; + typedef std::shared_ptr<moving_average<T>> sptr; /*! * Create a moving average block. diff --git a/gr-blocks/include/gnuradio/blocks/multiply.h b/gr-blocks/include/gnuradio/blocks/multiply.h index c902a07da..e95a9b3f3 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply.h +++ b/gr-blocks/include/gnuradio/blocks/multiply.h @@ -31,7 +31,7 @@ class BLOCKS_API multiply : virtual public sync_block { public: // gr::blocks::multiply::sptr - typedef boost::shared_ptr<multiply<T>> sptr; + typedef std::shared_ptr<multiply<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/multiply_by_tag_value_cc.h b/gr-blocks/include/gnuradio/blocks/multiply_by_tag_value_cc.h index d4840582b..7f3c5670f 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply_by_tag_value_cc.h +++ b/gr-blocks/include/gnuradio/blocks/multiply_by_tag_value_cc.h @@ -33,7 +33,7 @@ class BLOCKS_API multiply_by_tag_value_cc : virtual public sync_block { public: // gr::blocks::multiply_by_tag_value_cc::sptr - typedef boost::shared_ptr<multiply_by_tag_value_cc> sptr; + typedef std::shared_ptr<multiply_by_tag_value_cc> sptr; /*! * \brief Create an instance of multiply_by_tag_value_cc diff --git a/gr-blocks/include/gnuradio/blocks/multiply_conjugate_cc.h b/gr-blocks/include/gnuradio/blocks/multiply_conjugate_cc.h index 5f98f07eb..175d5f258 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply_conjugate_cc.h +++ b/gr-blocks/include/gnuradio/blocks/multiply_conjugate_cc.h @@ -25,7 +25,7 @@ class BLOCKS_API multiply_conjugate_cc : virtual public sync_block { public: // gr::blocks::multiply_conjugate_cc::sptr - typedef boost::shared_ptr<multiply_conjugate_cc> sptr; + typedef std::shared_ptr<multiply_conjugate_cc> sptr; /*! * \brief Multiplies a streams by the conjugate of a second stream diff --git a/gr-blocks/include/gnuradio/blocks/multiply_const.h b/gr-blocks/include/gnuradio/blocks/multiply_const.h index df51ffa9a..3784bcd6e 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply_const.h +++ b/gr-blocks/include/gnuradio/blocks/multiply_const.h @@ -29,7 +29,7 @@ class BLOCKS_API multiply_const : virtual public sync_block public: // gr::blocks::multiply_const::sptr - typedef boost::shared_ptr<multiply_const<T>> sptr; + typedef std::shared_ptr<multiply_const<T>> sptr; /*! * \brief Create an instance of multiply_const diff --git a/gr-blocks/include/gnuradio/blocks/multiply_const_v.h b/gr-blocks/include/gnuradio/blocks/multiply_const_v.h index a2bb9dec9..73724ab3d 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply_const_v.h +++ b/gr-blocks/include/gnuradio/blocks/multiply_const_v.h @@ -28,7 +28,7 @@ class BLOCKS_API multiply_const_v : virtual public sync_block public: // gr::blocks::multiply_const_v::sptr - typedef boost::shared_ptr<multiply_const_v<T>> sptr; + typedef std::shared_ptr<multiply_const_v<T>> sptr; /*! * \brief Create an instance of multiply_const_v diff --git a/gr-blocks/include/gnuradio/blocks/multiply_matrix.h b/gr-blocks/include/gnuradio/blocks/multiply_matrix.h index 68b9f38d6..574665d99 100644 --- a/gr-blocks/include/gnuradio/blocks/multiply_matrix.h +++ b/gr-blocks/include/gnuradio/blocks/multiply_matrix.h @@ -58,7 +58,7 @@ template <class T> class BLOCKS_API multiply_matrix : virtual public gr::sync_block { public: - typedef boost::shared_ptr<multiply_matrix<T>> sptr; + typedef std::shared_ptr<multiply_matrix<T>> sptr; /*! * \param A The matrix diff --git a/gr-blocks/include/gnuradio/blocks/mute.h b/gr-blocks/include/gnuradio/blocks/mute.h index 64949eb1c..95518f887 100644 --- a/gr-blocks/include/gnuradio/blocks/mute.h +++ b/gr-blocks/include/gnuradio/blocks/mute.h @@ -27,7 +27,7 @@ template <class T> class BLOCKS_API mute_blk : virtual public sync_block { public: - typedef boost::shared_ptr<mute_blk<T>> sptr; + typedef std::shared_ptr<mute_blk<T>> sptr; static sptr make(bool mute = false); diff --git a/gr-blocks/include/gnuradio/blocks/nlog10_ff.h b/gr-blocks/include/gnuradio/blocks/nlog10_ff.h index af41c7a19..34b56a057 100644 --- a/gr-blocks/include/gnuradio/blocks/nlog10_ff.h +++ b/gr-blocks/include/gnuradio/blocks/nlog10_ff.h @@ -25,7 +25,7 @@ class BLOCKS_API nlog10_ff : virtual public sync_block { public: // gr::blocks::nlog10_ff::sptr - typedef boost::shared_ptr<nlog10_ff> sptr; + typedef std::shared_ptr<nlog10_ff> sptr; /*! * \brief Make an instance of an nlog10_ff block. diff --git a/gr-blocks/include/gnuradio/blocks/nop.h b/gr-blocks/include/gnuradio/blocks/nop.h index 1aabd0747..945d83a36 100644 --- a/gr-blocks/include/gnuradio/blocks/nop.h +++ b/gr-blocks/include/gnuradio/blocks/nop.h @@ -26,7 +26,7 @@ class BLOCKS_API nop : virtual public block { public: // gr::blocks::nop::sptr - typedef boost::shared_ptr<nop> sptr; + typedef std::shared_ptr<nop> sptr; /*! * Build a nop block. diff --git a/gr-blocks/include/gnuradio/blocks/not_blk.h b/gr-blocks/include/gnuradio/blocks/not_blk.h index 77a36a676..f36c0f2b7 100644 --- a/gr-blocks/include/gnuradio/blocks/not_blk.h +++ b/gr-blocks/include/gnuradio/blocks/not_blk.h @@ -29,7 +29,7 @@ template <class T> class BLOCKS_API not_blk : virtual public sync_block { public: - typedef boost::shared_ptr<not_blk<T>> sptr; + typedef std::shared_ptr<not_blk<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/null_sink.h b/gr-blocks/include/gnuradio/blocks/null_sink.h index a15b499e4..fb51f0949 100644 --- a/gr-blocks/include/gnuradio/blocks/null_sink.h +++ b/gr-blocks/include/gnuradio/blocks/null_sink.h @@ -27,7 +27,7 @@ class BLOCKS_API null_sink : virtual public sync_block { public: // gr::blocks::null_sink::sptr - typedef boost::shared_ptr<null_sink> sptr; + typedef std::shared_ptr<null_sink> sptr; /*! * Build a null sink block. diff --git a/gr-blocks/include/gnuradio/blocks/null_source.h b/gr-blocks/include/gnuradio/blocks/null_source.h index d9bf7139b..fd837d66e 100644 --- a/gr-blocks/include/gnuradio/blocks/null_source.h +++ b/gr-blocks/include/gnuradio/blocks/null_source.h @@ -25,7 +25,7 @@ class BLOCKS_API null_source : virtual public sync_block { public: // gr::blocks::null_source::sptr - typedef boost::shared_ptr<null_source> sptr; + typedef std::shared_ptr<null_source> sptr; /*! * Build a null source block. diff --git a/gr-blocks/include/gnuradio/blocks/or_blk.h b/gr-blocks/include/gnuradio/blocks/or_blk.h index 17318fcf3..c263b30e4 100644 --- a/gr-blocks/include/gnuradio/blocks/or_blk.h +++ b/gr-blocks/include/gnuradio/blocks/or_blk.h @@ -28,7 +28,7 @@ class BLOCKS_API or_blk : virtual public sync_block { public: // gr::blocks::or_blk::sptr - typedef boost::shared_ptr<or_blk<T>> sptr; + typedef std::shared_ptr<or_blk<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/pack_k_bits_bb.h b/gr-blocks/include/gnuradio/blocks/pack_k_bits_bb.h index 693e7807b..4a759b2c0 100644 --- a/gr-blocks/include/gnuradio/blocks/pack_k_bits_bb.h +++ b/gr-blocks/include/gnuradio/blocks/pack_k_bits_bb.h @@ -35,7 +35,7 @@ class BLOCKS_API pack_k_bits_bb : virtual public sync_decimator { public: // gr::blocks::pack_k_bits_bb::sptr - typedef boost::shared_ptr<pack_k_bits_bb> sptr; + typedef std::shared_ptr<pack_k_bits_bb> sptr; /*! * \brief Make a pack_k_bits block. diff --git a/gr-blocks/include/gnuradio/blocks/packed_to_unpacked.h b/gr-blocks/include/gnuradio/blocks/packed_to_unpacked.h index e17ed004c..4d4a40a42 100644 --- a/gr-blocks/include/gnuradio/blocks/packed_to_unpacked.h +++ b/gr-blocks/include/gnuradio/blocks/packed_to_unpacked.h @@ -51,7 +51,7 @@ class BLOCKS_API packed_to_unpacked : virtual public block { public: // gr::blocks::packed_to_unpacked::sptr - typedef boost::shared_ptr<packed_to_unpacked<T>> sptr; + typedef std::shared_ptr<packed_to_unpacked<T>> sptr; static sptr make(unsigned int bits_per_chunk, endianness_t endianness); }; diff --git a/gr-blocks/include/gnuradio/blocks/patterned_interleaver.h b/gr-blocks/include/gnuradio/blocks/patterned_interleaver.h index 7538085ad..ea61cca76 100644 --- a/gr-blocks/include/gnuradio/blocks/patterned_interleaver.h +++ b/gr-blocks/include/gnuradio/blocks/patterned_interleaver.h @@ -24,7 +24,7 @@ namespace blocks { class BLOCKS_API patterned_interleaver : virtual public block { public: - typedef boost::shared_ptr<patterned_interleaver> sptr; + typedef std::shared_ptr<patterned_interleaver> sptr; /*! * Make a patterned interleaver block. diff --git a/gr-blocks/include/gnuradio/blocks/pdu_filter.h b/gr-blocks/include/gnuradio/blocks/pdu_filter.h index 322e3eabe..db43fc914 100644 --- a/gr-blocks/include/gnuradio/blocks/pdu_filter.h +++ b/gr-blocks/include/gnuradio/blocks/pdu_filter.h @@ -26,7 +26,7 @@ class BLOCKS_API pdu_filter : virtual public block { public: // gr::blocks::pdu_filter::sptr - typedef boost::shared_ptr<pdu_filter> sptr; + typedef std::shared_ptr<pdu_filter> sptr; /*! * \brief Construct a PDU filter diff --git a/gr-blocks/include/gnuradio/blocks/pdu_remove.h b/gr-blocks/include/gnuradio/blocks/pdu_remove.h index 440c7c846..266d91748 100644 --- a/gr-blocks/include/gnuradio/blocks/pdu_remove.h +++ b/gr-blocks/include/gnuradio/blocks/pdu_remove.h @@ -26,7 +26,7 @@ class BLOCKS_API pdu_remove : virtual public block { public: // gr::blocks::pdu_remove::sptr - typedef boost::shared_ptr<pdu_remove> sptr; + typedef std::shared_ptr<pdu_remove> sptr; /*! * \brief Construct a PDU meta remove block diff --git a/gr-blocks/include/gnuradio/blocks/pdu_set.h b/gr-blocks/include/gnuradio/blocks/pdu_set.h index d0be12419..fad755a9d 100644 --- a/gr-blocks/include/gnuradio/blocks/pdu_set.h +++ b/gr-blocks/include/gnuradio/blocks/pdu_set.h @@ -26,7 +26,7 @@ class BLOCKS_API pdu_set : virtual public block { public: // gr::blocks::pdu_set::sptr - typedef boost::shared_ptr<pdu_set> sptr; + typedef std::shared_ptr<pdu_set> sptr; /*! * \brief Construct a PDU meta set block diff --git a/gr-blocks/include/gnuradio/blocks/pdu_to_tagged_stream.h b/gr-blocks/include/gnuradio/blocks/pdu_to_tagged_stream.h index dd1b2d16c..ec364a424 100644 --- a/gr-blocks/include/gnuradio/blocks/pdu_to_tagged_stream.h +++ b/gr-blocks/include/gnuradio/blocks/pdu_to_tagged_stream.h @@ -26,7 +26,7 @@ class BLOCKS_API pdu_to_tagged_stream : virtual public tagged_stream_block { public: // gr::blocks::pdu_to_tagged_stream::sptr - typedef boost::shared_ptr<pdu_to_tagged_stream> sptr; + typedef std::shared_ptr<pdu_to_tagged_stream> sptr; /*! * \brief Construct a pdu_to_tagged_stream block diff --git a/gr-blocks/include/gnuradio/blocks/peak_detector.h b/gr-blocks/include/gnuradio/blocks/peak_detector.h index b7849d6ee..666a8df57 100644 --- a/gr-blocks/include/gnuradio/blocks/peak_detector.h +++ b/gr-blocks/include/gnuradio/blocks/peak_detector.h @@ -30,7 +30,7 @@ template <class T> class BLOCKS_API peak_detector : virtual public sync_block { public: - typedef boost::shared_ptr<peak_detector<T>> sptr; + typedef std::shared_ptr<peak_detector<T>> sptr; /*! * Make a peak detector block. diff --git a/gr-blocks/include/gnuradio/blocks/peak_detector2_fb.h b/gr-blocks/include/gnuradio/blocks/peak_detector2_fb.h index dd3d95a3a..e01a7726b 100644 --- a/gr-blocks/include/gnuradio/blocks/peak_detector2_fb.h +++ b/gr-blocks/include/gnuradio/blocks/peak_detector2_fb.h @@ -30,7 +30,7 @@ class BLOCKS_API peak_detector2_fb : virtual public sync_block { public: // gr::blocks::peak_detector2_fb::sptr - typedef boost::shared_ptr<peak_detector2_fb> sptr; + typedef std::shared_ptr<peak_detector2_fb> sptr; /*! * Build a peak detector block with float in, byte out. diff --git a/gr-blocks/include/gnuradio/blocks/phase_shift.h b/gr-blocks/include/gnuradio/blocks/phase_shift.h index e74145c5b..1e97f9c71 100644 --- a/gr-blocks/include/gnuradio/blocks/phase_shift.h +++ b/gr-blocks/include/gnuradio/blocks/phase_shift.h @@ -30,7 +30,7 @@ namespace blocks { class BLOCKS_API phase_shift : virtual public gr::sync_block { public: - typedef boost::shared_ptr<phase_shift> sptr; + typedef std::shared_ptr<phase_shift> sptr; /*! * \brief Create an instance of phase_shift diff --git a/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h b/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h index ff40d88c1..1ff2c1ce4 100644 --- a/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h +++ b/gr-blocks/include/gnuradio/blocks/plateau_detector_fb.h @@ -42,7 +42,7 @@ namespace blocks { class BLOCKS_API plateau_detector_fb : virtual public block { public: - typedef boost::shared_ptr<plateau_detector_fb> sptr; + typedef std::shared_ptr<plateau_detector_fb> sptr; /*! * \param max_len Maximum length of the plateau diff --git a/gr-blocks/include/gnuradio/blocks/probe_rate.h b/gr-blocks/include/gnuradio/blocks/probe_rate.h index e533713a8..243474e2d 100644 --- a/gr-blocks/include/gnuradio/blocks/probe_rate.h +++ b/gr-blocks/include/gnuradio/blocks/probe_rate.h @@ -25,7 +25,7 @@ class BLOCKS_API probe_rate : virtual public sync_block { public: // gr::blocks::probe_rate::sptr - typedef boost::shared_ptr<probe_rate> sptr; + typedef std::shared_ptr<probe_rate> sptr; /*! * \brief Make a throughput measurement block diff --git a/gr-blocks/include/gnuradio/blocks/probe_signal.h b/gr-blocks/include/gnuradio/blocks/probe_signal.h index 85bcbc9fb..4034944db 100644 --- a/gr-blocks/include/gnuradio/blocks/probe_signal.h +++ b/gr-blocks/include/gnuradio/blocks/probe_signal.h @@ -28,7 +28,7 @@ class BLOCKS_API probe_signal : virtual public sync_block { public: // gr::blocks::probe_signal::sptr - typedef boost::shared_ptr<probe_signal<T>> sptr; + typedef std::shared_ptr<probe_signal<T>> sptr; static sptr make(); diff --git a/gr-blocks/include/gnuradio/blocks/probe_signal_v.h b/gr-blocks/include/gnuradio/blocks/probe_signal_v.h index a9371b84b..4c52c7410 100644 --- a/gr-blocks/include/gnuradio/blocks/probe_signal_v.h +++ b/gr-blocks/include/gnuradio/blocks/probe_signal_v.h @@ -28,7 +28,7 @@ template <class T> class BLOCKS_API probe_signal_v : virtual public sync_block { public: - typedef boost::shared_ptr<probe_signal_v<T>> sptr; + typedef std::shared_ptr<probe_signal_v<T>> sptr; static sptr make(size_t size); diff --git a/gr-blocks/include/gnuradio/blocks/random_pdu.h b/gr-blocks/include/gnuradio/blocks/random_pdu.h index d41de5404..7c57d1de6 100644 --- a/gr-blocks/include/gnuradio/blocks/random_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/random_pdu.h @@ -26,7 +26,7 @@ class BLOCKS_API random_pdu : virtual public block { public: // gr::blocks::random_pdu::sptr - typedef boost::shared_ptr<random_pdu> sptr; + typedef std::shared_ptr<random_pdu> sptr; /*! * \brief Construct a random PDU generator diff --git a/gr-blocks/include/gnuradio/blocks/regenerate_bb.h b/gr-blocks/include/gnuradio/blocks/regenerate_bb.h index 396318c84..5701256f0 100644 --- a/gr-blocks/include/gnuradio/blocks/regenerate_bb.h +++ b/gr-blocks/include/gnuradio/blocks/regenerate_bb.h @@ -33,7 +33,7 @@ class BLOCKS_API regenerate_bb : virtual public sync_block { public: // gr::blocks::regenerate_bb::sptr - typedef boost::shared_ptr<regenerate_bb> sptr; + typedef std::shared_ptr<regenerate_bb> sptr; /*! * \brief Make a regenerate block diff --git a/gr-blocks/include/gnuradio/blocks/repack_bits_bb.h b/gr-blocks/include/gnuradio/blocks/repack_bits_bb.h index 69a28dba4..1031582c8 100644 --- a/gr-blocks/include/gnuradio/blocks/repack_bits_bb.h +++ b/gr-blocks/include/gnuradio/blocks/repack_bits_bb.h @@ -56,7 +56,7 @@ namespace blocks { class BLOCKS_API repack_bits_bb : virtual public tagged_stream_block { public: - typedef boost::shared_ptr<repack_bits_bb> sptr; + typedef std::shared_ptr<repack_bits_bb> sptr; /*! * \param k Number of relevant bits on the input stream diff --git a/gr-blocks/include/gnuradio/blocks/repeat.h b/gr-blocks/include/gnuradio/blocks/repeat.h index fa234b895..5a839d30c 100644 --- a/gr-blocks/include/gnuradio/blocks/repeat.h +++ b/gr-blocks/include/gnuradio/blocks/repeat.h @@ -30,7 +30,7 @@ class BLOCKS_API repeat : virtual public sync_interpolator { public: // gr::blocks::repeat::sptr - typedef boost::shared_ptr<repeat> sptr; + typedef std::shared_ptr<repeat> sptr; /*! * Make a repeat block. diff --git a/gr-blocks/include/gnuradio/blocks/rms_cf.h b/gr-blocks/include/gnuradio/blocks/rms_cf.h index 0d0c0ee0a..8567f4bb8 100644 --- a/gr-blocks/include/gnuradio/blocks/rms_cf.h +++ b/gr-blocks/include/gnuradio/blocks/rms_cf.h @@ -25,7 +25,7 @@ class BLOCKS_API rms_cf : virtual public sync_block { public: // gr::blocks::rms_cf::sptr - typedef boost::shared_ptr<rms_cf> sptr; + typedef std::shared_ptr<rms_cf> sptr; /*! * \brief Make an RMS calc. block. diff --git a/gr-blocks/include/gnuradio/blocks/rms_ff.h b/gr-blocks/include/gnuradio/blocks/rms_ff.h index f020d0bd3..7e6629b21 100644 --- a/gr-blocks/include/gnuradio/blocks/rms_ff.h +++ b/gr-blocks/include/gnuradio/blocks/rms_ff.h @@ -25,7 +25,7 @@ class BLOCKS_API rms_ff : virtual public sync_block { public: // gr::blocks::rms_ff::sptr - typedef boost::shared_ptr<rms_ff> sptr; + typedef std::shared_ptr<rms_ff> sptr; /*! * \brief Make an RMS calc. block. diff --git a/gr-blocks/include/gnuradio/blocks/rotator_cc.h b/gr-blocks/include/gnuradio/blocks/rotator_cc.h index 018c092b5..9979ddd98 100644 --- a/gr-blocks/include/gnuradio/blocks/rotator_cc.h +++ b/gr-blocks/include/gnuradio/blocks/rotator_cc.h @@ -25,7 +25,7 @@ class BLOCKS_API rotator_cc : virtual public sync_block { public: // gr::blocks::rotator_cc::sptr - typedef boost::shared_ptr<rotator_cc> sptr; + typedef std::shared_ptr<rotator_cc> sptr; /*! * \brief Make an complex rotator block diff --git a/gr-blocks/include/gnuradio/blocks/sample_and_hold.h b/gr-blocks/include/gnuradio/blocks/sample_and_hold.h index 3579c043f..d04c9782c 100644 --- a/gr-blocks/include/gnuradio/blocks/sample_and_hold.h +++ b/gr-blocks/include/gnuradio/blocks/sample_and_hold.h @@ -32,7 +32,7 @@ class BLOCKS_API sample_and_hold : virtual public sync_block { public: // gr::blocks::sample_and_hold::sptr - typedef boost::shared_ptr<sample_and_hold<T>> sptr; + typedef std::shared_ptr<sample_and_hold<T>> sptr; static sptr make(); }; diff --git a/gr-blocks/include/gnuradio/blocks/selector.h b/gr-blocks/include/gnuradio/blocks/selector.h index f4e93af77..560c8f5c1 100644 --- a/gr-blocks/include/gnuradio/blocks/selector.h +++ b/gr-blocks/include/gnuradio/blocks/selector.h @@ -30,7 +30,7 @@ namespace blocks { class BLOCKS_API selector : virtual public block { public: - typedef boost::shared_ptr<selector> sptr; + typedef std::shared_ptr<selector> sptr; static sptr make(size_t itemsize, unsigned int input_index, unsigned int output_index); diff --git a/gr-blocks/include/gnuradio/blocks/short_to_char.h b/gr-blocks/include/gnuradio/blocks/short_to_char.h index 68ba92099..ca6d0e24b 100644 --- a/gr-blocks/include/gnuradio/blocks/short_to_char.h +++ b/gr-blocks/include/gnuradio/blocks/short_to_char.h @@ -35,7 +35,7 @@ class BLOCKS_API short_to_char : virtual public sync_block { public: // gr::blocks::short_to_char_ff::sptr - typedef boost::shared_ptr<short_to_char> sptr; + typedef std::shared_ptr<short_to_char> sptr; /*! * Build a short to char block. diff --git a/gr-blocks/include/gnuradio/blocks/short_to_float.h b/gr-blocks/include/gnuradio/blocks/short_to_float.h index 4655a19d0..dd850a991 100644 --- a/gr-blocks/include/gnuradio/blocks/short_to_float.h +++ b/gr-blocks/include/gnuradio/blocks/short_to_float.h @@ -25,7 +25,7 @@ class BLOCKS_API short_to_float : virtual public sync_block { public: // gr::blocks::short_to_float_ff::sptr - typedef boost::shared_ptr<short_to_float> sptr; + typedef std::shared_ptr<short_to_float> sptr; /*! * Build a short to float block. diff --git a/gr-blocks/include/gnuradio/blocks/skiphead.h b/gr-blocks/include/gnuradio/blocks/skiphead.h index 9d4698542..0be1ec7f3 100644 --- a/gr-blocks/include/gnuradio/blocks/skiphead.h +++ b/gr-blocks/include/gnuradio/blocks/skiphead.h @@ -30,7 +30,7 @@ class BLOCKS_API skiphead : virtual public block { public: // gr::blocks::skiphead::sptr - typedef boost::shared_ptr<skiphead> sptr; + typedef std::shared_ptr<skiphead> sptr; static sptr make(size_t itemsize, uint64_t nitems_to_skip); }; diff --git a/gr-blocks/include/gnuradio/blocks/socket_pdu.h b/gr-blocks/include/gnuradio/blocks/socket_pdu.h index 00b1b9a79..50841a523 100644 --- a/gr-blocks/include/gnuradio/blocks/socket_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/socket_pdu.h @@ -25,7 +25,7 @@ class BLOCKS_API socket_pdu : virtual public block { public: // gr::blocks::socket_pdu::sptr - typedef boost::shared_ptr<socket_pdu> sptr; + typedef std::shared_ptr<socket_pdu> sptr; /*! * \brief Construct a SOCKET PDU interface diff --git a/gr-blocks/include/gnuradio/blocks/stream_mux.h b/gr-blocks/include/gnuradio/blocks/stream_mux.h index c44d0118e..be6255ba7 100644 --- a/gr-blocks/include/gnuradio/blocks/stream_mux.h +++ b/gr-blocks/include/gnuradio/blocks/stream_mux.h @@ -34,7 +34,7 @@ class BLOCKS_API stream_mux : virtual public block { public: // gr::blocks::stream_mux::sptr - typedef boost::shared_ptr<stream_mux> sptr; + typedef std::shared_ptr<stream_mux> sptr; /*! * \brief Creates a stream muxing block to multiplex many streams into diff --git a/gr-blocks/include/gnuradio/blocks/stream_to_streams.h b/gr-blocks/include/gnuradio/blocks/stream_to_streams.h index 47369911d..d08be7290 100644 --- a/gr-blocks/include/gnuradio/blocks/stream_to_streams.h +++ b/gr-blocks/include/gnuradio/blocks/stream_to_streams.h @@ -29,7 +29,7 @@ class BLOCKS_API stream_to_streams : virtual public sync_decimator { public: // gr::blocks::stream_to_streams::sptr - typedef boost::shared_ptr<stream_to_streams> sptr; + typedef std::shared_ptr<stream_to_streams> sptr; /*! * Make a stream-to-streams block. diff --git a/gr-blocks/include/gnuradio/blocks/stream_to_tagged_stream.h b/gr-blocks/include/gnuradio/blocks/stream_to_tagged_stream.h index 08b4afb0d..2ebd6ddad 100644 --- a/gr-blocks/include/gnuradio/blocks/stream_to_tagged_stream.h +++ b/gr-blocks/include/gnuradio/blocks/stream_to_tagged_stream.h @@ -33,7 +33,7 @@ namespace blocks { class BLOCKS_API stream_to_tagged_stream : virtual public gr::sync_block { public: - typedef boost::shared_ptr<stream_to_tagged_stream> sptr; + typedef std::shared_ptr<stream_to_tagged_stream> sptr; /*! * \param itemsize Item size diff --git a/gr-blocks/include/gnuradio/blocks/stream_to_vector.h b/gr-blocks/include/gnuradio/blocks/stream_to_vector.h index 6a6ed6082..7c456eb4b 100644 --- a/gr-blocks/include/gnuradio/blocks/stream_to_vector.h +++ b/gr-blocks/include/gnuradio/blocks/stream_to_vector.h @@ -25,7 +25,7 @@ class BLOCKS_API stream_to_vector : virtual public sync_decimator { public: // gr::blocks::stream_to_vector::sptr - typedef boost::shared_ptr<stream_to_vector> sptr; + typedef std::shared_ptr<stream_to_vector> sptr; /*! * Make a stream-to-vector block. diff --git a/gr-blocks/include/gnuradio/blocks/streams_to_stream.h b/gr-blocks/include/gnuradio/blocks/streams_to_stream.h index 0f1dc542a..5c1f0ac7f 100644 --- a/gr-blocks/include/gnuradio/blocks/streams_to_stream.h +++ b/gr-blocks/include/gnuradio/blocks/streams_to_stream.h @@ -29,7 +29,7 @@ class BLOCKS_API streams_to_stream : virtual public sync_interpolator { public: // gr::blocks::streams_to_stream::sptr - typedef boost::shared_ptr<streams_to_stream> sptr; + typedef std::shared_ptr<streams_to_stream> sptr; /*! * Make a streams-to-stream block. diff --git a/gr-blocks/include/gnuradio/blocks/streams_to_vector.h b/gr-blocks/include/gnuradio/blocks/streams_to_vector.h index 6df51a968..1126add6a 100644 --- a/gr-blocks/include/gnuradio/blocks/streams_to_vector.h +++ b/gr-blocks/include/gnuradio/blocks/streams_to_vector.h @@ -25,7 +25,7 @@ class BLOCKS_API streams_to_vector : virtual public sync_block { public: // gr::blocks::streams_to_vector::sptr - typedef boost::shared_ptr<streams_to_vector> sptr; + typedef std::shared_ptr<streams_to_vector> sptr; /*! * Make a stream-to-vector block. diff --git a/gr-blocks/include/gnuradio/blocks/stretch_ff.h b/gr-blocks/include/gnuradio/blocks/stretch_ff.h index 0513e4235..6568688b4 100644 --- a/gr-blocks/include/gnuradio/blocks/stretch_ff.h +++ b/gr-blocks/include/gnuradio/blocks/stretch_ff.h @@ -27,7 +27,7 @@ class BLOCKS_API stretch_ff : virtual public sync_block { public: // gr::blocks::stretch_ff::sptr - typedef boost::shared_ptr<stretch_ff> sptr; + typedef std::shared_ptr<stretch_ff> sptr; /*! * \brief Make a stretch block. diff --git a/gr-blocks/include/gnuradio/blocks/sub.h b/gr-blocks/include/gnuradio/blocks/sub.h index e982d2da3..9a8e0f7e8 100644 --- a/gr-blocks/include/gnuradio/blocks/sub.h +++ b/gr-blocks/include/gnuradio/blocks/sub.h @@ -31,7 +31,7 @@ class BLOCKS_API sub : virtual public sync_block { public: // gr::blocks::sub::sptr - typedef boost::shared_ptr<sub<T>> sptr; + typedef std::shared_ptr<sub<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/include/gnuradio/blocks/tag_debug.h b/gr-blocks/include/gnuradio/blocks/tag_debug.h index 008e78f71..c39ff77a6 100644 --- a/gr-blocks/include/gnuradio/blocks/tag_debug.h +++ b/gr-blocks/include/gnuradio/blocks/tag_debug.h @@ -47,7 +47,7 @@ class BLOCKS_API tag_debug : virtual public sync_block { public: // gr::blocks::tag_debug::sptr - typedef boost::shared_ptr<tag_debug> sptr; + typedef std::shared_ptr<tag_debug> sptr; /*! * Build a tag debug block diff --git a/gr-blocks/include/gnuradio/blocks/tag_gate.h b/gr-blocks/include/gnuradio/blocks/tag_gate.h index 957cfc4b3..c34c2381b 100644 --- a/gr-blocks/include/gnuradio/blocks/tag_gate.h +++ b/gr-blocks/include/gnuradio/blocks/tag_gate.h @@ -26,7 +26,7 @@ namespace blocks { class BLOCKS_API tag_gate : virtual public gr::sync_block { public: - typedef boost::shared_ptr<tag_gate> sptr; + typedef std::shared_ptr<tag_gate> sptr; virtual void set_propagation(bool propagate_tags) = 0; diff --git a/gr-blocks/include/gnuradio/blocks/tag_share.h b/gr-blocks/include/gnuradio/blocks/tag_share.h index dcba16bbe..dbc0420bb 100644 --- a/gr-blocks/include/gnuradio/blocks/tag_share.h +++ b/gr-blocks/include/gnuradio/blocks/tag_share.h @@ -35,7 +35,7 @@ namespace blocks { class BLOCKS_API tag_share : virtual public gr::sync_block { public: - typedef boost::shared_ptr<tag_share> sptr; + typedef std::shared_ptr<tag_share> sptr; /*! * \param sizeof_io_item The size of the Input 0/Output 0 stream type. Input 0 diff --git a/gr-blocks/include/gnuradio/blocks/tagged_file_sink.h b/gr-blocks/include/gnuradio/blocks/tagged_file_sink.h index 4410056fa..a28d97b96 100644 --- a/gr-blocks/include/gnuradio/blocks/tagged_file_sink.h +++ b/gr-blocks/include/gnuradio/blocks/tagged_file_sink.h @@ -37,7 +37,7 @@ class BLOCKS_API tagged_file_sink : virtual public sync_block { public: // gr::blocks::tagged_file_sink::sptr - typedef boost::shared_ptr<tagged_file_sink> sptr; + typedef std::shared_ptr<tagged_file_sink> sptr; /*! * \brief Build a tagged_file_sink block. diff --git a/gr-blocks/include/gnuradio/blocks/tagged_stream_align.h b/gr-blocks/include/gnuradio/blocks/tagged_stream_align.h index a7dbd698e..f814e2471 100644 --- a/gr-blocks/include/gnuradio/blocks/tagged_stream_align.h +++ b/gr-blocks/include/gnuradio/blocks/tagged_stream_align.h @@ -26,7 +26,7 @@ namespace blocks { class BLOCKS_API tagged_stream_align : virtual public block { public: - typedef boost::shared_ptr<tagged_stream_align> sptr; + typedef std::shared_ptr<tagged_stream_align> sptr; /*! * Make a tagged stream align diff --git a/gr-blocks/include/gnuradio/blocks/tagged_stream_multiply_length.h b/gr-blocks/include/gnuradio/blocks/tagged_stream_multiply_length.h index 3e745d422..f7b99cae0 100644 --- a/gr-blocks/include/gnuradio/blocks/tagged_stream_multiply_length.h +++ b/gr-blocks/include/gnuradio/blocks/tagged_stream_multiply_length.h @@ -28,7 +28,7 @@ namespace blocks { class BLOCKS_API tagged_stream_multiply_length : virtual public block { public: - typedef boost::shared_ptr<tagged_stream_multiply_length> sptr; + typedef std::shared_ptr<tagged_stream_multiply_length> sptr; virtual void set_scalar(double scalar) = 0; /*! diff --git a/gr-blocks/include/gnuradio/blocks/tagged_stream_mux.h b/gr-blocks/include/gnuradio/blocks/tagged_stream_mux.h index 11cf40c6c..2dcbee4f5 100644 --- a/gr-blocks/include/gnuradio/blocks/tagged_stream_mux.h +++ b/gr-blocks/include/gnuradio/blocks/tagged_stream_mux.h @@ -38,7 +38,7 @@ namespace blocks { class BLOCKS_API tagged_stream_mux : virtual public tagged_stream_block { public: - typedef boost::shared_ptr<tagged_stream_mux> sptr; + typedef std::shared_ptr<tagged_stream_mux> sptr; /*! * Make a tagged stream mux block. diff --git a/gr-blocks/include/gnuradio/blocks/tagged_stream_to_pdu.h b/gr-blocks/include/gnuradio/blocks/tagged_stream_to_pdu.h index 631d0ca23..74c7b7477 100644 --- a/gr-blocks/include/gnuradio/blocks/tagged_stream_to_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/tagged_stream_to_pdu.h @@ -31,7 +31,7 @@ class BLOCKS_API tagged_stream_to_pdu : virtual public tagged_stream_block { public: // gr::blocks::tagged_stream_to_pdu::sptr - typedef boost::shared_ptr<tagged_stream_to_pdu> sptr; + typedef std::shared_ptr<tagged_stream_to_pdu> sptr; /*! * \brief Construct a tagged_stream_to_pdu block diff --git a/gr-blocks/include/gnuradio/blocks/tags_strobe.h b/gr-blocks/include/gnuradio/blocks/tags_strobe.h index ae7b37bbd..443da6d01 100644 --- a/gr-blocks/include/gnuradio/blocks/tags_strobe.h +++ b/gr-blocks/include/gnuradio/blocks/tags_strobe.h @@ -33,7 +33,7 @@ class BLOCKS_API tags_strobe : virtual public sync_block { public: // gr::blocks::tags_strobe::sptr - typedef boost::shared_ptr<tags_strobe> sptr; + typedef std::shared_ptr<tags_strobe> sptr; /*! * Make a tags stobe block to send tags with value \p value diff --git a/gr-blocks/include/gnuradio/blocks/tcp_server_sink.h b/gr-blocks/include/gnuradio/blocks/tcp_server_sink.h index 7938b8005..82c9becb1 100644 --- a/gr-blocks/include/gnuradio/blocks/tcp_server_sink.h +++ b/gr-blocks/include/gnuradio/blocks/tcp_server_sink.h @@ -30,7 +30,7 @@ class BLOCKS_API tcp_server_sink : virtual public gr::sync_block { public: // gr::blocks::tcp_server_sink::sptr - typedef boost::shared_ptr<tcp_server_sink> sptr; + typedef std::shared_ptr<tcp_server_sink> sptr; /*! * \brief TCP Server Sink Constructor diff --git a/gr-blocks/include/gnuradio/blocks/test_tag_variable_rate_ff.h b/gr-blocks/include/gnuradio/blocks/test_tag_variable_rate_ff.h index 30d3678fb..3f36c5ae6 100644 --- a/gr-blocks/include/gnuradio/blocks/test_tag_variable_rate_ff.h +++ b/gr-blocks/include/gnuradio/blocks/test_tag_variable_rate_ff.h @@ -47,7 +47,7 @@ class BLOCKS_API test_tag_variable_rate_ff : virtual public block { public: // gr::blocks::test_tag_variable_rate_ff::sptr - typedef boost::shared_ptr<test_tag_variable_rate_ff> sptr; + typedef std::shared_ptr<test_tag_variable_rate_ff> sptr; /*! * Build a test_tag_variable_rate_ff block. diff --git a/gr-blocks/include/gnuradio/blocks/threshold_ff.h b/gr-blocks/include/gnuradio/blocks/threshold_ff.h index a3900be0f..c66b85c74 100644 --- a/gr-blocks/include/gnuradio/blocks/threshold_ff.h +++ b/gr-blocks/include/gnuradio/blocks/threshold_ff.h @@ -30,7 +30,7 @@ class BLOCKS_API threshold_ff : virtual public sync_block { public: // gr::blocks::threshold_ff::sptr - typedef boost::shared_ptr<threshold_ff> sptr; + typedef std::shared_ptr<threshold_ff> sptr; /* \brief Create a threadshold block. * \param lo Threshold input signal needs to drop below to diff --git a/gr-blocks/include/gnuradio/blocks/throttle.h b/gr-blocks/include/gnuradio/blocks/throttle.h index 6d3f8bb0a..9372a8711 100644 --- a/gr-blocks/include/gnuradio/blocks/throttle.h +++ b/gr-blocks/include/gnuradio/blocks/throttle.h @@ -34,7 +34,7 @@ namespace blocks { class BLOCKS_API throttle : virtual public sync_block { public: - typedef boost::shared_ptr<throttle> sptr; + typedef std::shared_ptr<throttle> sptr; static sptr make(size_t itemsize, double samples_per_sec, bool ignore_tags = true); diff --git a/gr-blocks/include/gnuradio/blocks/transcendental.h b/gr-blocks/include/gnuradio/blocks/transcendental.h index 30b16880a..421aa3d7a 100644 --- a/gr-blocks/include/gnuradio/blocks/transcendental.h +++ b/gr-blocks/include/gnuradio/blocks/transcendental.h @@ -34,7 +34,7 @@ class BLOCKS_API transcendental : virtual public sync_block { public: // gr::blocks::transcendental::sptr - typedef boost::shared_ptr<transcendental> sptr; + typedef std::shared_ptr<transcendental> sptr; static sptr make(const std::string& name, const std::string& type = "float"); }; diff --git a/gr-blocks/include/gnuradio/blocks/tsb_vector_sink.h b/gr-blocks/include/gnuradio/blocks/tsb_vector_sink.h index 6a349f6ff..67b417c05 100644 --- a/gr-blocks/include/gnuradio/blocks/tsb_vector_sink.h +++ b/gr-blocks/include/gnuradio/blocks/tsb_vector_sink.h @@ -30,7 +30,7 @@ template <class T> class BLOCKS_API tsb_vector_sink : virtual public gr::tagged_stream_block { public: - typedef boost::shared_ptr<tsb_vector_sink<T>> sptr; + typedef std::shared_ptr<tsb_vector_sink<T>> sptr; virtual void reset() = 0; virtual std::vector<std::vector<T>> data() const = 0; diff --git a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h index 93a00adc5..90424d928 100644 --- a/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h +++ b/gr-blocks/include/gnuradio/blocks/tuntap_pdu.h @@ -25,7 +25,7 @@ class BLOCKS_API tuntap_pdu : virtual public block { public: // gr::blocks::tuntap_pdu::sptr - typedef boost::shared_ptr<tuntap_pdu> sptr; + typedef std::shared_ptr<tuntap_pdu> sptr; /*! * \brief Construct a TUNTAP PDU interface diff --git a/gr-blocks/include/gnuradio/blocks/uchar_to_float.h b/gr-blocks/include/gnuradio/blocks/uchar_to_float.h index 8b7702bd2..62b016ec8 100644 --- a/gr-blocks/include/gnuradio/blocks/uchar_to_float.h +++ b/gr-blocks/include/gnuradio/blocks/uchar_to_float.h @@ -25,7 +25,7 @@ class BLOCKS_API uchar_to_float : virtual public sync_block { public: // gr::blocks::uchar_to_float_ff::sptr - typedef boost::shared_ptr<uchar_to_float> sptr; + typedef std::shared_ptr<uchar_to_float> sptr; /*! * Build a uchar to float block. diff --git a/gr-blocks/include/gnuradio/blocks/udp_sink.h b/gr-blocks/include/gnuradio/blocks/udp_sink.h index 3ea6a7767..950aec130 100644 --- a/gr-blocks/include/gnuradio/blocks/udp_sink.h +++ b/gr-blocks/include/gnuradio/blocks/udp_sink.h @@ -25,7 +25,7 @@ class BLOCKS_API udp_sink : virtual public sync_block { public: // gr::blocks::udp_sink::sptr - typedef boost::shared_ptr<udp_sink> sptr; + typedef std::shared_ptr<udp_sink> sptr; /*! * \brief UDP Sink Constructor diff --git a/gr-blocks/include/gnuradio/blocks/udp_source.h b/gr-blocks/include/gnuradio/blocks/udp_source.h index 3b3957a97..8e5d03754 100644 --- a/gr-blocks/include/gnuradio/blocks/udp_source.h +++ b/gr-blocks/include/gnuradio/blocks/udp_source.h @@ -25,7 +25,7 @@ class BLOCKS_API udp_source : virtual public sync_block { public: // gr::blocks::udp_source::sptr - typedef boost::shared_ptr<udp_source> sptr; + typedef std::shared_ptr<udp_source> sptr; /*! * \brief UDP Source Constructor diff --git a/gr-blocks/include/gnuradio/blocks/unpack_k_bits_bb.h b/gr-blocks/include/gnuradio/blocks/unpack_k_bits_bb.h index 7e2766584..9e70cc74c 100644 --- a/gr-blocks/include/gnuradio/blocks/unpack_k_bits_bb.h +++ b/gr-blocks/include/gnuradio/blocks/unpack_k_bits_bb.h @@ -33,7 +33,7 @@ class BLOCKS_API unpack_k_bits_bb : virtual public sync_interpolator { public: // gr::blocks::unpack_k_bits_bb::sptr - typedef boost::shared_ptr<unpack_k_bits_bb> sptr; + typedef std::shared_ptr<unpack_k_bits_bb> sptr; /*! * \brief Make an unpack_k_bits block. diff --git a/gr-blocks/include/gnuradio/blocks/unpacked_to_packed.h b/gr-blocks/include/gnuradio/blocks/unpacked_to_packed.h index a6fad35d9..08c5cd506 100644 --- a/gr-blocks/include/gnuradio/blocks/unpacked_to_packed.h +++ b/gr-blocks/include/gnuradio/blocks/unpacked_to_packed.h @@ -50,7 +50,7 @@ class BLOCKS_API unpacked_to_packed : virtual public block { public: // gr::blocks::unpacked_to_packed::sptr - typedef boost::shared_ptr<unpacked_to_packed<T>> sptr; + typedef std::shared_ptr<unpacked_to_packed<T>> sptr; static sptr make(unsigned int bits_per_chunk, endianness_t endianness); }; diff --git a/gr-blocks/include/gnuradio/blocks/vco_c.h b/gr-blocks/include/gnuradio/blocks/vco_c.h index 7abc44e8b..de24dd3de 100644 --- a/gr-blocks/include/gnuradio/blocks/vco_c.h +++ b/gr-blocks/include/gnuradio/blocks/vco_c.h @@ -29,7 +29,7 @@ class BLOCKS_API vco_c : virtual public sync_block { public: // gr::blocks::vco_c::sptr - typedef boost::shared_ptr<vco_c> sptr; + typedef std::shared_ptr<vco_c> sptr; /*! * \brief VCO - Voltage controlled oscillator diff --git a/gr-blocks/include/gnuradio/blocks/vco_f.h b/gr-blocks/include/gnuradio/blocks/vco_f.h index 935e32c50..ec0112f0c 100644 --- a/gr-blocks/include/gnuradio/blocks/vco_f.h +++ b/gr-blocks/include/gnuradio/blocks/vco_f.h @@ -29,7 +29,7 @@ class BLOCKS_API vco_f : virtual public sync_block { public: // gr::blocks::vco_f::sptr - typedef boost::shared_ptr<vco_f> sptr; + typedef std::shared_ptr<vco_f> sptr; /*! * \brief VCO - Voltage controlled oscillator diff --git a/gr-blocks/include/gnuradio/blocks/vector_insert.h b/gr-blocks/include/gnuradio/blocks/vector_insert.h index 1807632db..b2c06a393 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_insert.h +++ b/gr-blocks/include/gnuradio/blocks/vector_insert.h @@ -28,7 +28,7 @@ class BLOCKS_API vector_insert : virtual public block { public: // gr::blocks::vector_insert::sptr - typedef boost::shared_ptr<vector_insert<T>> sptr; + typedef std::shared_ptr<vector_insert<T>> sptr; /*! * Make vector insert block. diff --git a/gr-blocks/include/gnuradio/blocks/vector_map.h b/gr-blocks/include/gnuradio/blocks/vector_map.h index 36e562e96..81d0d7be0 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_map.h +++ b/gr-blocks/include/gnuradio/blocks/vector_map.h @@ -37,7 +37,7 @@ class BLOCKS_API vector_map : virtual public sync_block { public: // gr::blocks::vector_map::sptr - typedef boost::shared_ptr<vector_map> sptr; + typedef std::shared_ptr<vector_map> sptr; /*! * Build a vector map block. diff --git a/gr-blocks/include/gnuradio/blocks/vector_sink.h b/gr-blocks/include/gnuradio/blocks/vector_sink.h index 123b69590..9d993a0b0 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_sink.h +++ b/gr-blocks/include/gnuradio/blocks/vector_sink.h @@ -28,7 +28,7 @@ class BLOCKS_API vector_sink : virtual public sync_block { public: // gr::blocks::vector_sink::sptr - typedef boost::shared_ptr<vector_sink<T>> sptr; + typedef std::shared_ptr<vector_sink<T>> sptr; /*! * \brief Make a new instance of the vector source, and return a shared pointer to it. diff --git a/gr-blocks/include/gnuradio/blocks/vector_source.h b/gr-blocks/include/gnuradio/blocks/vector_source.h index 13bdb922a..cecd0123f 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_source.h +++ b/gr-blocks/include/gnuradio/blocks/vector_source.h @@ -56,7 +56,7 @@ class BLOCKS_API vector_source : virtual public sync_block { public: // gr::blocks::vector_source::sptr - typedef boost::shared_ptr<vector_source<T>> sptr; + typedef std::shared_ptr<vector_source<T>> sptr; static sptr make(const std::vector<T>& data, bool repeat = false, diff --git a/gr-blocks/include/gnuradio/blocks/vector_to_stream.h b/gr-blocks/include/gnuradio/blocks/vector_to_stream.h index 7feb7560b..d9a1030dc 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_to_stream.h +++ b/gr-blocks/include/gnuradio/blocks/vector_to_stream.h @@ -25,7 +25,7 @@ class BLOCKS_API vector_to_stream : virtual public sync_interpolator { public: // gr::blocks::vector_to_stream::sptr - typedef boost::shared_ptr<vector_to_stream> sptr; + typedef std::shared_ptr<vector_to_stream> sptr; /*! * Make vector-to-stream block diff --git a/gr-blocks/include/gnuradio/blocks/vector_to_streams.h b/gr-blocks/include/gnuradio/blocks/vector_to_streams.h index 1a7356c59..18f5db7fc 100644 --- a/gr-blocks/include/gnuradio/blocks/vector_to_streams.h +++ b/gr-blocks/include/gnuradio/blocks/vector_to_streams.h @@ -25,7 +25,7 @@ class BLOCKS_API vector_to_streams : virtual public sync_block { public: // gr::blocks::vector_to_streams::sptr - typedef boost::shared_ptr<vector_to_streams> sptr; + typedef std::shared_ptr<vector_to_streams> sptr; /*! * Make vector-to-streams block diff --git a/gr-blocks/include/gnuradio/blocks/wavfile_sink.h b/gr-blocks/include/gnuradio/blocks/wavfile_sink.h index 10b1276e8..d99633930 100644 --- a/gr-blocks/include/gnuradio/blocks/wavfile_sink.h +++ b/gr-blocks/include/gnuradio/blocks/wavfile_sink.h @@ -29,7 +29,7 @@ class BLOCKS_API wavfile_sink : virtual public sync_block { public: // gr::blocks::wavfile_sink::sptr - typedef boost::shared_ptr<wavfile_sink> sptr; + typedef std::shared_ptr<wavfile_sink> sptr; /* * \param filename The .wav file to be opened diff --git a/gr-blocks/include/gnuradio/blocks/wavfile_source.h b/gr-blocks/include/gnuradio/blocks/wavfile_source.h index c82b9981e..d20838534 100644 --- a/gr-blocks/include/gnuradio/blocks/wavfile_source.h +++ b/gr-blocks/include/gnuradio/blocks/wavfile_source.h @@ -29,7 +29,7 @@ class BLOCKS_API wavfile_source : virtual public sync_block { public: // gr::blocks::wavfile_source::sptr - typedef boost::shared_ptr<wavfile_source> sptr; + typedef std::shared_ptr<wavfile_source> sptr; static sptr make(const char* filename, bool repeat = false); diff --git a/gr-blocks/include/gnuradio/blocks/xor_blk.h b/gr-blocks/include/gnuradio/blocks/xor_blk.h index e6b629a2a..59f3d3f1f 100644 --- a/gr-blocks/include/gnuradio/blocks/xor_blk.h +++ b/gr-blocks/include/gnuradio/blocks/xor_blk.h @@ -30,7 +30,7 @@ class BLOCKS_API xor_blk : virtual public sync_block { public: // gr::blocks::xor::sptr - typedef boost::shared_ptr<xor_blk<T>> sptr; + typedef std::shared_ptr<xor_blk<T>> sptr; static sptr make(size_t vlen = 1); }; diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc index e17e5c39c..9a601c6cb 100644 --- a/gr-blocks/lib/message_strobe_impl.cc +++ b/gr-blocks/lib/message_strobe_impl.cc @@ -52,7 +52,7 @@ bool message_strobe_impl::start() // NOTE: d_finished should be something explicitly thread safe. But since // nothing breaks on concurrent access, I'll just leave it as bool. d_finished = false; - d_thread = boost::shared_ptr<gr::thread::thread>( + d_thread = std::shared_ptr<gr::thread::thread>( new gr::thread::thread(boost::bind(&message_strobe_impl::run, this))); return block::start(); diff --git a/gr-blocks/lib/message_strobe_impl.h b/gr-blocks/lib/message_strobe_impl.h index 91111dd76..988990a24 100644 --- a/gr-blocks/lib/message_strobe_impl.h +++ b/gr-blocks/lib/message_strobe_impl.h @@ -19,7 +19,7 @@ namespace blocks { class BLOCKS_API message_strobe_impl : public message_strobe { private: - boost::shared_ptr<gr::thread::thread> d_thread; + std::shared_ptr<gr::thread::thread> d_thread; bool d_finished; long d_period_ms; pmt::pmt_t d_msg; diff --git a/gr-blocks/lib/message_strobe_random_impl.cc b/gr-blocks/lib/message_strobe_random_impl.cc index 3a4b32229..793066c41 100644 --- a/gr-blocks/lib/message_strobe_random_impl.cc +++ b/gr-blocks/lib/message_strobe_random_impl.cc @@ -50,7 +50,7 @@ message_strobe_random_impl::message_strobe_random_impl( { // set up ports message_port_register_out(d_port); - d_thread = boost::shared_ptr<gr::thread::thread>( + d_thread = std::shared_ptr<gr::thread::thread>( new gr::thread::thread(boost::bind(&message_strobe_random_impl::run, this))); message_port_register_in(pmt::mp("set_msg")); diff --git a/gr-blocks/lib/message_strobe_random_impl.h b/gr-blocks/lib/message_strobe_random_impl.h index db66aa077..9e1c898b3 100644 --- a/gr-blocks/lib/message_strobe_random_impl.h +++ b/gr-blocks/lib/message_strobe_random_impl.h @@ -28,7 +28,7 @@ private: std::poisson_distribution<> pd; //(d_mean_ms); std::normal_distribution<> nd; //(d_mean_ms, d_std_ms); std::uniform_real_distribution<> ud; //(d_mean_ms - d_std_ms, d_mean_ms + d_std_ms); - boost::shared_ptr<gr::thread::thread> d_thread; + std::shared_ptr<gr::thread::thread> d_thread; bool d_finished; pmt::pmt_t d_msg; const pmt::pmt_t d_port; diff --git a/gr-blocks/lib/qa_gr_flowgraph.cc b/gr-blocks/lib/qa_gr_flowgraph.cc index 15c7ab46a..6eb5e4224 100644 --- a/gr-blocks/lib/qa_gr_flowgraph.cc +++ b/gr-blocks/lib/qa_gr_flowgraph.cc @@ -23,7 +23,7 @@ namespace blocks { class null_qa_source : virtual public sync_block { public: - typedef boost::shared_ptr<null_qa_source> sptr; + typedef std::shared_ptr<null_qa_source> sptr; static sptr make(size_t sizeof_stream_item); }; class null_source_qa_impl : public null_qa_source @@ -56,7 +56,7 @@ null_qa_source::sptr null_qa_source::make(size_t sizeof_stream_item) class null_qa_sink : virtual public sync_block { public: - typedef boost::shared_ptr<null_qa_sink> sptr; + typedef std::shared_ptr<null_qa_sink> sptr; static sptr make(size_t sizeof_stream_item); }; class null_sink_qa_impl : public null_qa_sink diff --git a/gr-blocks/lib/qa_gr_hier_block2_derived.cc b/gr-blocks/lib/qa_gr_hier_block2_derived.cc index eb25f6e7c..b2af4921c 100644 --- a/gr-blocks/lib/qa_gr_hier_block2_derived.cc +++ b/gr-blocks/lib/qa_gr_hier_block2_derived.cc @@ -23,7 +23,7 @@ // Declare a test C++ hierarchical block class gr_derived_block; -typedef boost::shared_ptr<gr_derived_block> gr_derived_block_sptr; +typedef std::shared_ptr<gr_derived_block> gr_derived_block_sptr; gr_derived_block_sptr gr_make_derived_block(); class gr_derived_block : public gr::hier_block2 diff --git a/gr-blocks/lib/socket_pdu_impl.h b/gr-blocks/lib/socket_pdu_impl.h index c684ad013..2e6c93547 100644 --- a/gr-blocks/lib/socket_pdu_impl.h +++ b/gr-blocks/lib/socket_pdu_impl.h @@ -34,20 +34,20 @@ private: const bool d_tcp_no_delay; // TCP server specific - boost::shared_ptr<boost::asio::ip::tcp::acceptor> d_acceptor_tcp; + std::shared_ptr<boost::asio::ip::tcp::acceptor> d_acceptor_tcp; void start_tcp_accept(); void tcp_server_send(pmt::pmt_t msg); void handle_tcp_accept(tcp_connection::sptr new_connection, const boost::system::error_code& error); // TCP client specific - boost::shared_ptr<boost::asio::ip::tcp::socket> d_tcp_socket; + std::shared_ptr<boost::asio::ip::tcp::socket> d_tcp_socket; void tcp_client_send(pmt::pmt_t msg); // UDP specific boost::asio::ip::udp::endpoint d_udp_endpoint; boost::asio::ip::udp::endpoint d_udp_endpoint_other; - boost::shared_ptr<boost::asio::ip::udp::socket> d_udp_socket; + std::shared_ptr<boost::asio::ip::udp::socket> d_udp_socket; void handle_udp_read(const boost::system::error_code& error, size_t bytes_transferred); void udp_send(pmt::pmt_t msg); diff --git a/gr-blocks/lib/tcp_connection.cc b/gr-blocks/lib/tcp_connection.cc index 086d1065f..4634039ae 100644 --- a/gr-blocks/lib/tcp_connection.cc +++ b/gr-blocks/lib/tcp_connection.cc @@ -45,7 +45,7 @@ void tcp_connection::send(pmt::pmt_t vector) size_t len = pmt::blob_length(vector); // Asio async_write() requires the buffer to remain valid until the handler is called. - boost::shared_ptr<char[]> txbuf(new char[len]); + std::shared_ptr<char[]> txbuf(new char[len]); size_t temp = 0; memcpy(txbuf.get(), pmt::uniform_vector_elements(vector, temp), len); diff --git a/gr-blocks/lib/tcp_connection.h b/gr-blocks/lib/tcp_connection.h index 3841ce588..2dd914ab7 100644 --- a/gr-blocks/lib/tcp_connection.h +++ b/gr-blocks/lib/tcp_connection.h @@ -14,7 +14,7 @@ #include <pmt/pmt.h> #include <boost/array.hpp> #include <boost/asio.hpp> -#include <boost/shared_ptr.hpp> +#include <memory> namespace gr { @@ -35,7 +35,7 @@ private: bool no_delay = false); public: - typedef boost::shared_ptr<tcp_connection> sptr; + typedef std::shared_ptr<tcp_connection> sptr; static sptr make(boost::asio::io_service& io_service, int MTU = 10000, bool no_delay = false); @@ -45,7 +45,7 @@ public: void start(gr::basic_block* block); void send(pmt::pmt_t vector); void handle_read(const boost::system::error_code& error, size_t bytes_transferred); - void handle_write(boost::shared_ptr<char[]> txbuf, + void handle_write(std::shared_ptr<char[]> txbuf, const boost::system::error_code& error, size_t bytes_transferred) { diff --git a/gr-blocks/lib/tcp_server_sink_impl.h b/gr-blocks/lib/tcp_server_sink_impl.h index d9b996b06..6e7543230 100644 --- a/gr-blocks/lib/tcp_server_sink_impl.h +++ b/gr-blocks/lib/tcp_server_sink_impl.h @@ -31,7 +31,7 @@ private: std::set<boost::asio::ip::tcp::socket*> d_sockets; boost::asio::ip::tcp::acceptor d_acceptor; - boost::shared_ptr<uint8_t[]> d_buf; + std::shared_ptr<uint8_t[]> d_buf; enum { BUF_SIZE = 256 * 1024, }; |