Vital
Loading...
Searching...
No Matches
vital::Parameters Class Reference

A static utility class to access parameter details globally. More...

#include <synth_parameters.h>

Static Public Member Functions

static const ValueDetailsgetDetails (const std::string &name)
 
static int getNumParameters ()
 
static const ValueDetailsgetDetails (int index)
 
static std::string getDisplayName (const std::string &name)
 
static const mono_float getParameterRange (const std::string &name)
 
static const bool isParameter (const std::string &name)
 
static std::map< std::string, ValueDetailsgetAllDetails ()
 

Static Public Attributes

static ValueDetailsLookup lookup_
 

Detailed Description

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.

Member Function Documentation

◆ 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

Member Data Documentation

◆ lookup_

ValueDetailsLookup vital::Parameters::lookup_
static

The documentation for this class was generated from the following files: