diff options
Diffstat (limited to 'gr-blocks/include/blocks/keep_one_in_n.h')
-rw-r--r-- | gr-blocks/include/blocks/keep_one_in_n.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gr-blocks/include/blocks/keep_one_in_n.h b/gr-blocks/include/blocks/keep_one_in_n.h index c487849941..9cce1e93ed 100644 --- a/gr-blocks/include/blocks/keep_one_in_n.h +++ b/gr-blocks/include/blocks/keep_one_in_n.h @@ -30,8 +30,8 @@ namespace gr { namespace blocks { /*! - * \brief decimate a stream, keeping one item out of every n. - * \ingroup slicedice_blk + * \brief decimate a stream, keeping one item out of every \p n. + * \ingroup stream_operators_blk */ class BLOCKS_API keep_one_in_n : virtual public gr_block { @@ -40,6 +40,12 @@ namespace gr { // gr::blocks::keep_one_in_n::sptr typedef boost::shared_ptr<keep_one_in_n> sptr; + /*! + * Make a keep one in n block. + * + * \param itemsize stream itemsize + * \param n block size in items + */ static sptr make(size_t itemsize, int n); virtual void set_n(int n) = 0; |