From ff81c844713b5234622ceb906af219a569d0914f Mon Sep 17 00:00:00 2001 From: Tim O'Shea Date: Wed, 28 Nov 2012 14:52:36 -0800 Subject: adding patterned interleaver block --- gr-blocks/include/blocks/CMakeLists.txt | 1 + gr-blocks/include/blocks/patterned_interleaver.h | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 gr-blocks/include/blocks/patterned_interleaver.h (limited to 'gr-blocks/include') diff --git a/gr-blocks/include/blocks/CMakeLists.txt b/gr-blocks/include/blocks/CMakeLists.txt index ac674528f..787fddba3 100644 --- a/gr-blocks/include/blocks/CMakeLists.txt +++ b/gr-blocks/include/blocks/CMakeLists.txt @@ -118,6 +118,7 @@ install(FILES multiply_const_cc.h multiply_const_ff.h nlog10_ff.h + patterned_interleaver.h repeat.h short_to_char.h short_to_float.h diff --git a/gr-blocks/include/blocks/patterned_interleaver.h b/gr-blocks/include/blocks/patterned_interleaver.h new file mode 100644 index 000000000..cfcdac6e7 --- /dev/null +++ b/gr-blocks/include/blocks/patterned_interleaver.h @@ -0,0 +1,23 @@ +#ifndef INCLUDED_BLOCKS_PATTERNED_INTERLEAVER_H +#define INCLUDED_BLOCKS_PATTERNED_INTERLEAVER_H + +#include +#include + +namespace gr { + namespace blocks { + + class BLOCKS_API patterned_interleaver : virtual public gr_block + { + public: + + typedef boost::shared_ptr sptr; + + static sptr make(size_t itemsize, std::vector pattern); + }; + + } +} + +#endif + -- cgit