Passing a variable to other blocks

Hello Everyone

I was wondering how to pass a variable defined in one block to another.
For instance, say we defined a variable in a block impl.cc, how can I
pass
this variable to another block? Or how can I make it public to be
reached
from every block in my flow graph?

I checked the variable block, but it defines it in the top_block.py as I
understood correctly.
I’m trying to write my own blocks, and I gotta pass some of my variables
to
the others.
What’s your advice?

Thanks in advance

Tarik


Aydin Tarik Zengin

On Thu, Nov 21, 2013 at 7:13 AM, Aydin Tarik Zengin
[email protected] wrote:

the others.
What’s your advice?

Thanks in advance

Tarik

You’ll want to use the message passing interface for this:

http://gnuradio.org/doc/doxygen/page_msg_passing.html

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs