newsched icon indicating copy to clipboard operation
newsched copied to clipboard

Indexed container parameters

Open mormj opened this issue 2 years ago • 0 comments

Need some way to have setters and getters for block parameters that allow element access. Example: say, it is a uhd_block, but I want to have a parameter that represents gain. This could be a vector of gains where each element sets a particular channel. But then when I do set_gain(x), the current mechanism expects x to be a vector and set all the gains in one shot.

Instead I should be able to do set_gain(0,x) where x is a float

mormj avatar Jun 07 '22 16:06 mormj