X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-core%2Fsrc%2Flib%2Fgeneral%2Fgr_regenerate_bb.i;h=7b29b92b71a49591ec4c72c3efda501f7554dca7;hb=01668d67403cd1ee9a5626c931ad95c35c9cc5f7;hp=6afd84d8de50920908b00797960aae65762766b8;hpb=a663f5b481679d8a352c668825cee92f548f3fcc;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/general/gr_regenerate_bb.i b/gnuradio-core/src/lib/general/gr_regenerate_bb.i index 6afd84d8..7b29b92b 100644 --- a/gnuradio-core/src/lib/general/gr_regenerate_bb.i +++ b/gnuradio-core/src/lib/general/gr_regenerate_bb.i @@ -6,7 +6,7 @@ * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, @@ -28,4 +28,11 @@ class gr_regenerate_bb : public gr_sync_block { private: gr_regenerate_bb (int period, unsigned int max_regen); + +public: + void set_max_regen(unsigned int regen); + + /*! \brief Reset the period of regenerations; this will reset the current regen. + */ + void set_period(int period); };