Shared functionality for all specializations of parameters.
- See also
- ParameterBase
More...
#include <parameter.h>
|
| int | id () const noexcept |
| | A unique identifier for this parameter More...
|
| |
| bool | changed () const noexcept |
| | Whether the parameter has changed in this processing frame. Only sensible when called from within Processor::process More...
|
| |
| | operator Type () const noexcept |
| | Evaluate the value of the parameter at the start of this processing frame. More...
|
| |
| template<typename Index > |
| Type | operator[] (Index idx) const noexcept |
| | Alias for at(). More...
|
| |
| template<typename Index > |
| Type | at (Index idx) const noexcept |
| | Evaluate the value of the parameter at at a specific sample index, where 0 equals the start of the processing frame. More...
|
| |
| Derived & | operator= (Type t) noexcept |
| | Assign a value to this parameter. Depending on host support, this might only make sense inside the constructor of a Effect or Generator (so it is a way of setting default / initial value of a parameter). More...
|
| |
| | ~ParameterBase () |
| | Delete this parameter instance. More...
|
| |
| auto | getRange () const noexcept |
| | Returns the Range this parameter was constructed with. More...
|
| |
template<class Type, class Derived>
class ape::ParameterBase< Type, Derived >
Shared functionality for all specializations of parameters.
- See also
- ParameterBase
- Template Parameters
-
| Type | Any type the Derived class can convert and automate. - See also
- Param<float>
|
| Derived | The sub class of this that statically provides the following functions: convert representationFor |
◆ ParameterBase()
template<class Type, class Derived>
Constructs a named parameter.
◆ ~ParameterBase()
template<class Type, class Derived>
Delete this parameter instance.
◆ at()
template<class Type, class Derived>
template<typename Index >
Evaluate the value of the parameter at at a specific sample index, where 0 equals the start of the processing frame.
Only sensible when called from within Processor::process
◆ changed()
template<class Type, class Derived>
◆ convert()
template<class Type, class Derived>
◆ getRange()
template<class Type, class Derived>
Returns the Range this parameter was constructed with.
◆ id()
template<class Type, class Derived>
A unique identifier for this parameter
◆ operator Type()
template<class Type, class Derived>
Evaluate the value of the parameter at the start of this processing frame.
Only sensible when called from within Processor::process
◆ operator=()
template<class Type, class Derived>
Assign a value to this parameter. Depending on host support, this might only make sense inside the constructor of a Effect or Generator (so it is a way of setting default / initial value of a parameter).
◆ operator[]()
template<class Type, class Derived>
template<typename Index >
◆ representationFor()
template<class Type, class Derived>
◆ name
template<class Type, class Derived>
◆ param
template<class Type, class Derived>
◆ range
template<class Type, class Derived>
The documentation for this class was generated from the following file: