ape  0.5.0
Audio Programming Environment
Public Member Functions | List of all members
ape::MeteredValue Class Reference

A value you can continously assign to (at audio rate), and a meter with a decay in the GUI will display this value. More...

#include <meter.h>

Inheritance diagram for ape::MeteredValue:
ape::UIObject

Public Member Functions

 MeteredValue (std::string name)
 Create a new metered value. More...
 
 ~MeteredValue ()
 
template<typename T >
operator= (T input) noexcept
 Alias for pushValue More...
 
void pushValue (double input) noexcept
 Update the meter with the input value. This will also calculate peak hold positions and decay envelope. More...
 

Detailed Description

A value you can continously assign to (at audio rate), and a meter with a decay in the GUI will display this value.

Constructor & Destructor Documentation

◆ MeteredValue()

ape::MeteredValue::MeteredValue ( std::string  name)
inline

Create a new metered value.

Parameters
nameTitle of this value

◆ ~MeteredValue()

ape::MeteredValue::~MeteredValue ( )
inline

Member Function Documentation

◆ operator=()

template<typename T >
T ape::MeteredValue::operator= ( input)
inlinenoexcept

Alias for pushValue

◆ pushValue()

void ape::MeteredValue::pushValue ( double  input)
inlinenoexcept

Update the meter with the input value. This will also calculate peak hold positions and decay envelope.


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