[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/11: cleaned up the way setup_rpc() is ca
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/11: cleaned up the way setup_rpc() is called, and now is called for all blocks, not just those with stream connections |
Date: |
Thu, 12 Jan 2017 20:33:14 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 080bbf3dfcef968a2141714852bf691ba442bb2f
Author: Jacob Gilbert <address@hidden>
Date: Wed Nov 23 06:33:43 2016 -0800
cleaned up the way setup_rpc() is called, and now is called for all blocks,
not just those with stream connections
---
gnuradio-runtime/lib/hier_block2_detail.cc | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gnuradio-runtime/lib/hier_block2_detail.cc
b/gnuradio-runtime/lib/hier_block2_detail.cc
index 0d0ddf55..49eb34a 100644
--- a/gnuradio-runtime/lib/hier_block2_detail.cc
+++ b/gnuradio-runtime/lib/hier_block2_detail.cc
@@ -594,12 +594,6 @@ namespace gr {
basic_block_sptr b;
b = p->src().block();
- if(ctrlport_on) {
- if(!b->is_rpc_set()) {
- b->setup_rpc();
- b->rpc_set();
- }
- }
if(set_all_min_buff){
//sets the min buff for every block within hier_block2
if(min_buff != 0){
@@ -656,12 +650,6 @@ namespace gr {
}
b = p->dst().block();
- if(ctrlport_on) {
- if(!b->is_rpc_set()) {
- b->setup_rpc();
- b->rpc_set();
- }
- }
if(set_all_min_buff){
//sets the min buff for every block within hier_block2
if(min_buff != 0){
@@ -797,8 +785,16 @@ namespace gr {
// First add the list of singleton blocks
std::vector<basic_block_sptr>::const_iterator b; // Because flatten_aux
is const
- for(b = d_blocks.begin(); b != d_blocks.end(); b++)
+ for(b = d_blocks.begin(); b != d_blocks.end(); b++) {
tmp.push_back(*b);
+ // for every block, attempt to setup RPC
+ if(ctrlport_on) {
+ if(!(*b)->is_rpc_set()) {
+ (*b)->setup_rpc();
+ (*b)->rpc_set();
+ }
+ }
+ }
// Now add the list of connected input blocks
std::stringstream msg;
- [Commit-gnuradio] [gnuradio] branch maint updated (588fe5e -> 5913693), git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 04/11: blocks: fix callback template for message_strobe_random, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 01/11: cleaned up the way setup_rpc() is called, and now is called for all blocks, not just those with stream connections,
git <=
- [Commit-gnuradio] [gnuradio] 09/11: qtgui: Fix SIGSEGV for tag trigger with constellation sink, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 05/11: Merge remote-tracking branch 'jgilbert/msg_rpc_init_fix' into maint, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 10/11: Merge remote-tracking branch 'darekk/gr_tag_swig_warning_fix_maint' into maint, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 08/11: runtime: fix numpy warning, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 07/11: gr-qtgui: Line 2 configurations added for type Complex Message, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 11/11: Merge remote-tracking branch 'skoslowski/xml_fixes' into maint, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 02/11: gnuradio-runtime/swig/tags.i: Making swig ignore gr::tag_t::operator= so that the annoying compile-time warning messages go away., git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 06/11: digital: clarify documentation of clock_recovery_mm_xx, git, 2017/01/12
- [Commit-gnuradio] [gnuradio] 03/11: blocks: udp source/sink grc wrappers: removed callbacks to missing setter, git, 2017/01/12