ase/parameter.hh file


Namespaces

namespace Ase
The Anklang C++ API namespace.

Classes

struct Ase::ParamExtraVals
Helper to specify parameter ranges.
struct Ase::Param
Structured initializer for Parameter.
struct Ase::Parameter
Structure to provide information about properties or preferences.
struct Ase::ParameterMap
Parameter list construction helper.
struct Ase::ParameterMap::Entry
Helper for new Parameter creation from Param initializer.

Typedefs

using ChoicesFunc = std::function<ChoiceS(const CString&)>
Handler to generate all possible parameter choices dynamically.
using MinMaxStep = std::tuple<double, double, double>
Min, max, stepping for double ranges.
using ParamInitialVal = std::variant<bool, int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t, uint64_t, float, double, const char*, std::string>
Initial value for parameters.

Functions

auto parameter_guess_nick(const String& parameter_label) →  String
Create a few letter nick name from a multi word parameter label.