discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Are hierarchical blocks with a variable number of


From: Jeff Long
Subject: Re: [Discuss-gnuradio] Are hierarchical blocks with a variable number of inputs possible?
Date: Tue, 23 Jan 2018 13:22:09 -0500

You can call ninputs() and noutputs() on (or from within) a block.

On Tue, Jan 23, 2018 at 12:49 PM, Markus Wirsing <address@hidden> wrote:
Hello,

I was wondering, whether it's possible to write a hierarchical block
that does not have a fixed number of inputs.

Of course I can specify the io_signature appropriately.
But it seems like the only way to determine the number of actual
connected inputs is to look at the parameters that are given to the work
function, which doesn't make sense for a hierarchical block. Or am I
missing another way?

Markus

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]