Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper Struct Reference
Inheritance diagram for anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper:
[legend]
Collaboration diagram for anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper:
[legend]

Public Member Functions

 ParameterWrapper (const LimiterParameter &parameter)
 
double Min () const override
 
double Max () const override
 
double SliderMin () const override
 
double SliderMax () const override
 
double TextToSlider () const override
 
- Public Member Functions inherited from DynamicRangeProcessorParameter
virtual ~DynamicRangeProcessorParameter ()=default
 
virtual double Min () const =0
 
virtual double Max () const =0
 
virtual double SliderMin () const =0
 
virtual double SliderMax () const =0
 
virtual double TextToSlider () const =0
 

Public Attributes

const LimiterParametermParameter
 

Detailed Description

Definition at line 16 of file LimiterEditor.cpp.

Constructor & Destructor Documentation

◆ ParameterWrapper()

anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::ParameterWrapper ( const LimiterParameter parameter)
inline

Definition at line 18 of file LimiterEditor.cpp.

19 : mParameter { parameter }
20 {
21 }

Member Function Documentation

◆ Max()

double anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::Max ( ) const
inlineoverridevirtual

Implements DynamicRangeProcessorParameter.

Definition at line 28 of file LimiterEditor.cpp.

29 {
31 }
const Type scale
Scaling factor, for slider control.
const Type max
Maximum value.

◆ Min()

double anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::Min ( ) const
inlineoverridevirtual

Implements DynamicRangeProcessorParameter.

Definition at line 23 of file LimiterEditor.cpp.

24 {
26 }
const Type min
Minimum value.

◆ SliderMax()

double anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::SliderMax ( ) const
inlineoverridevirtual

Implements DynamicRangeProcessorParameter.

Definition at line 38 of file LimiterEditor.cpp.

39 {
40 return mParameter.max;
41 }

◆ SliderMin()

double anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::SliderMin ( ) const
inlineoverridevirtual

Implements DynamicRangeProcessorParameter.

Definition at line 33 of file LimiterEditor.cpp.

34 {
35 return mParameter.min;
36 }

◆ TextToSlider()

double anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::TextToSlider ( ) const
inlineoverridevirtual

Implements DynamicRangeProcessorParameter.

Definition at line 43 of file LimiterEditor.cpp.

44 {
45 return mParameter.scale;
46 }

Member Data Documentation

◆ mParameter

const LimiterParameter& anonymous_namespace{LimiterEditor.cpp}::ParameterWrapper::mParameter

Definition at line 48 of file LimiterEditor.cpp.


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