|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Bidirectional communication between attached blocks |
Date: | Mon, 20 Apr 2015 12:48:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Hi Marco, I just realized: Things might be much more easy than that, even: What you do sounds like a job for a hierarchical block; if you're not used to that concept: It's just a "subflowgraph", represented as a block with in- and outputs. If you put both your blocks inside, you'll always have them together. And: in the constructor of your hierarchical block, you can for example first construct your cuda block, and then give your "downstream" block the pointer to that in its constructor. To the user, this will look like one block, though there are two (or more) inside. Greetings, Marcus On 04/20/2015 12:29 PM, marco Ribero
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |