A static utility class to access parameter details globally.
More...
#include <synth_parameters.h>
A static utility class to access parameter details globally.
Parameters provides static methods to:
- Access parameter details by name or index.
- Check if a parameter exists.
- Get parameter display names and ranges.
It uses a static ValueDetailsLookup (lookup_) internally.
◆ getAllDetails()
static std::map< std::string, ValueDetails > vital::Parameters::getAllDetails |
( |
| ) |
|
|
inlinestatic |
◆ getDetails() [1/2]
static const ValueDetails & vital::Parameters::getDetails |
( |
const std::string & | name | ) |
|
|
inlinestatic |
◆ getDetails() [2/2]
static const ValueDetails * vital::Parameters::getDetails |
( |
int | index | ) |
|
|
inlinestatic |
◆ getDisplayName()
static std::string vital::Parameters::getDisplayName |
( |
const std::string & | name | ) |
|
|
inlinestatic |
◆ getNumParameters()
static int vital::Parameters::getNumParameters |
( |
| ) |
|
|
inlinestatic |
◆ getParameterRange()
static const mono_float vital::Parameters::getParameterRange |
( |
const std::string & | name | ) |
|
|
inlinestatic |
◆ isParameter()
static const bool vital::Parameters::isParameter |
( |
const std::string & | name | ) |
|
|
inlinestatic |
◆ lookup_
The documentation for this class was generated from the following files: