Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback on parameter value update #1624

Open
kylestach opened this issue Feb 3, 2021 · 0 comments
Open

Callback on parameter value update #1624

kylestach opened this issue Feb 3, 2021 · 0 comments

Comments

@kylestach
Copy link
Contributor

Description

We should be able to run callbacks (like switching a network port) to parameter change events.

Requirements

  • Allow attaching callbacks to parameter update events

Design

This can be added in a straightforward manner to the parameter provider (by adding a callback to call when Update() is hit for a particular parameter). However, the manner by which to register parameters still needs design clarification. PARAM_* objects are primitive types, so it can't be added directly to them, but we could pass in a "param handle" in the form of a parameter name string or a pointer to a variable.

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

No branches or pull requests

3 participants