Dynamic parameter binding for the MNA parameter tree. More...
#include <mna_param_binding.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| QCborMap | toCbor () const |
Static Public Member Functions | |
| static MnaParamBinding | fromJson (const QJsonObject &json) |
| static MnaParamBinding | fromCbor (const QCborMap &cbor) |
Public Attributes | |
| QString | targetPath |
| Parameter to control: "nodeId/attrKey". | |
| QString | expression |
| Formula string, e.g. "clamp(ref('noise_est_01/snr') * 0.1, 0.01, 1.0)". | |
| QString | trigger |
| "on_change", "periodic", "manual" | |
| int | periodMs = 0 |
| Evaluation period when trigger == "periodic" (ignored otherwise). | |
| QStringList | dependencies |
| Paths this binding reads from. | |
Dynamic parameter binding for the MNA parameter tree.
A formula-driven parameter binding: links a target parameter path to an expression that is re-evaluated when a trigger condition is met.
Definition at line 60 of file mna_param_binding.h.
|
static |
Definition at line 107 of file mna_param_binding.cpp.
|
static |
Definition at line 65 of file mna_param_binding.cpp.
| QCborMap MnaParamBinding::toCbor | ( | ) | const |
Definition at line 83 of file mna_param_binding.cpp.
| QJsonObject MnaParamBinding::toJson | ( | ) | const |
Definition at line 41 of file mna_param_binding.cpp.
| QStringList MNALIB::MnaParamBinding::dependencies |
Paths this binding reads from.
Definition at line 66 of file mna_param_binding.h.
| QString MNALIB::MnaParamBinding::expression |
Formula string, e.g. "clamp(ref('noise_est_01/snr') * 0.1, 0.01, 1.0)".
Definition at line 63 of file mna_param_binding.h.
| int MNALIB::MnaParamBinding::periodMs = 0 |
Evaluation period when trigger == "periodic" (ignored otherwise).
Definition at line 65 of file mna_param_binding.h.
| QString MNALIB::MnaParamBinding::targetPath |
Parameter to control: "nodeId/attrKey".
Definition at line 62 of file mna_param_binding.h.
| QString MNALIB::MnaParamBinding::trigger |
"on_change", "periodic", "manual"
Definition at line 64 of file mna_param_binding.h.