diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-07-05 22:01:45 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-07-05 22:01:45 -0400 |
commit | 9aabbe0601919c9fecd46e4e418e5c94183fca45 (patch) | |
tree | 6a0a096e0288ac2744829005af3672ba8365ba8c /gnuradio-core/src/lib/general/gr_skiphead.h | |
parent | efa0fc2b4071949939db75454f2464174f701445 (diff) |
core: adding ability to change and reset skiphead parameters.
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_skiphead.h')
-rw-r--r-- | gnuradio-core/src/lib/general/gr_skiphead.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/general/gr_skiphead.h b/gnuradio-core/src/lib/general/gr_skiphead.h index 899b40f27a..710530ff4c 100644 --- a/gnuradio-core/src/lib/general/gr_skiphead.h +++ b/gnuradio-core/src/lib/general/gr_skiphead.h @@ -51,6 +51,26 @@ class GR_CORE_API gr_skiphead : public gr_block public: + /*! + * \brief Sets number of items to skip; resets current skip count to 0. + */ + void set_nitems_to_skip(uint64_t nitems_to_skip); + + /*! + * \brief Gets the number of items to skip. + */ + uint64_t nitems_to_skip() const; + + /*! + * \brief Gets the number of items already skipped. + */ + uint64_t nitems_skiped() const; + + /*! + * \brief Resets number of items skipped to 0. + */ + void reset(); + int general_work(int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, |