diff options
author | Tim O'Shea | 2012-11-28 14:52:36 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-11-28 18:33:54 -0800 |
commit | ff81c844713b5234622ceb906af219a569d0914f (patch) | |
tree | 8db88ff415fd6cf3cb7ccfef400e91a5cbcccd4b /gr-blocks/include | |
parent | fbef82839ef85bfd7837f8534af2a3a74018930a (diff) | |
download | gnuradio-ff81c844713b5234622ceb906af219a569d0914f.tar.gz gnuradio-ff81c844713b5234622ceb906af219a569d0914f.tar.bz2 gnuradio-ff81c844713b5234622ceb906af219a569d0914f.zip |
adding patterned interleaver block
Diffstat (limited to 'gr-blocks/include')
-rw-r--r-- | gr-blocks/include/blocks/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gr-blocks/include/blocks/patterned_interleaver.h | 23 |
2 files changed, 24 insertions, 0 deletions
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 <blocks/api.h> +#include <gr_block.h> + +namespace gr { + namespace blocks { + + class BLOCKS_API patterned_interleaver : virtual public gr_block + { + public: + + typedef boost::shared_ptr<patterned_interleaver> sptr; + + static sptr make(size_t itemsize, std::vector<int> pattern); + }; + + } +} + +#endif + |