|
Dusk Audio Framework
|
#include <DafDetails.hpp>
Public Member Functions | |
| constexpr | ParameterEnumerationValues () noexcept |
| constexpr | ParameterEnumerationValues (uint8_t c, bool r, ParameterEnumerationValue *v) noexcept |
Public Attributes | |
| uint8_t | count |
| bool | restrictedMode |
| ParameterEnumerationValue * | values |
| bool | deleteLater |
Details around parameter enumeration values.
Wraps ParameterEnumerationValues and provides a few extra details to the host about these values.
|
inlineconstexprnoexcept |
Default constructor, for zero enumeration values.
|
inlineconstexprnoexcept |
Constructor using custom values.
When using this constructor the pointer to @values MUST have been statically declared.
It will not be automatically deleted later.
| uint8_t ParameterEnumerationValues::count |
Number of elements allocated in @values.
| bool ParameterEnumerationValues::restrictedMode |
Whether the host is to be restricted to only use enumeration values.
| ParameterEnumerationValue* ParameterEnumerationValues::values |
Array of @ParameterEnumerationValue items.
When assigning this pointer manually, it must be allocated on the heap with new ParameterEnumerationValue[count].
The array pointer will be automatically deleted later unless deleteLater is set to false.
| bool ParameterEnumerationValues::deleteLater |
Whether to take ownership of the values pointer.
Defaults to true unless stated otherwise.