|From:||Anderson, Douglas J.|
|Subject:||Re: [Discuss-gnuradio] skiphead block with reset|
|Date:||Tue, 28 Oct 2014 18:58:13 +0000|
Thanks for this, your git-fu is much stronger than mine!
I wonder why the mutator func for d_nitems didn't make it into the current version. At least for me, it's really useful to have.
Anyway, looks like it won't be too bad to graft in. Thanks again.
From: discuss-gnuradio-bounces+address@hidden [discuss-gnuradio-bounces+address@hidden on behalf of Michael Berman address@hidden
Sent: Tuesday, October 28, 2014 12:12 PM
To: Martin Braun
Subject: Re: [Discuss-gnuradio] skiphead block with reset
Taking a quick look at a branch of that hash tag, the Reset function simply sets d_nitems = 0. There are 4 helper functions within the Skip Head block of old that are not in the current one; namely setting the number of items to skip, checking how many items are to be skipped, checking how many items have currently been skipped, and resetting the block. The code below is from the hash tag given, and should be trivial to implement into the current block (the variable names are even still the same).
d_nitems_to_skip = nitems_to_skip;
d_nitems = 0;
On Tue, Oct 28, 2014 at 10:59 AM, Martin Braun <address@hidden> wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|