[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/06: blocks: add a setter for repeat flag
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/06: blocks: add a setter for repeat flag on vector source |
Date: |
Sun, 27 Mar 2016 13:57:57 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit aa33fb0b4940eefc9c193dc8e3b0eadbcc4ee52e
Author: Nathan West <address@hidden>
Date: Thu Mar 24 15:20:01 2016 -0400
blocks: add a setter for repeat flag on vector source
---
gr-blocks/include/gnuradio/blocks/vector_source_X.h.t | 1 +
gr-blocks/lib/vector_source_X_impl.h.t | 1 +
2 files changed, 2 insertions(+)
diff --git a/gr-blocks/include/gnuradio/blocks/vector_source_X.h.t
b/gr-blocks/include/gnuradio/blocks/vector_source_X.h.t
index d5298e8..b0ca6b8 100644
--- a/gr-blocks/include/gnuradio/blocks/vector_source_X.h.t
+++ b/gr-blocks/include/gnuradio/blocks/vector_source_X.h.t
@@ -76,6 +76,7 @@ namespace gr {
virtual void rewind() = 0;
virtual void set_data(const std::vector<@TYPE@> &data,
const std::vector<tag_t>
&tags=std::vector<tag_t>()) = 0;
+ virtual void set_repeat(bool repeat) = 0;
};
} /* namespace blocks */
diff --git a/gr-blocks/lib/vector_source_X_impl.h.t
b/gr-blocks/lib/vector_source_X_impl.h.t
index 2641c66..bc9b329 100644
--- a/gr-blocks/lib/vector_source_X_impl.h.t
+++ b/gr-blocks/lib/vector_source_X_impl.h.t
@@ -50,6 +50,7 @@ namespace gr {
void rewind() { d_offset=0; }
void set_data(const std::vector<@TYPE@> &data,
const std::vector<tag_t> &tags);
+ void set_repeat(bool repeat) { d_repeat=repeat; };
int work(int noutput_items,
gr_vector_const_void_star &input_items,
- [Commit-gnuradio] [gnuradio] branch master updated (64a702e -> d44dae8), git, 2016/03/27
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'nwest/vector-repeat', git, 2016/03/27
- [Commit-gnuradio] [gnuradio] 02/06: blocks: add a setter for repeat flag on vector source,
git <=
- [Commit-gnuradio] [gnuradio] 05/06: Merge remote-tracking branch 'noc0lour/constellation_add_new_types_grc', git, 2016/03/27
- [Commit-gnuradio] [gnuradio] 04/06: Merge branch 'maint', git, 2016/03/27
- [Commit-gnuradio] [gnuradio] 01/06: gr-digital: add more constellation types to grc constellation block, git, 2016/03/27
- [Commit-gnuradio] [gnuradio] 03/06: blocks: annotate QA and add tests for vector_sourc_sink setters, git, 2016/03/27