Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Indexed container parameters #250

Open
mormj opened this issue Jun 7, 2022 · 0 comments
Open

Indexed container parameters #250

mormj opened this issue Jun 7, 2022 · 0 comments

Comments

@mormj
Copy link
Contributor

mormj commented Jun 7, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant