Audacity 3.2.0
|
#include <UpwardMeterValueProvider.h>
Public Member Functions | |
UpwardMeterValueProvider () | |
void | Update (float value, bool alsoFiveSecondMax) override |
float | GetGlobalMax () const override |
float | GetFiveSecMax () const override |
float | GetCurrentMax () const override |
Direction | GetDirection () const override |
bool | IsInvisible () const override |
Public Member Functions inherited from MeterValueProvider | |
virtual | ~MeterValueProvider ()=default |
virtual void | Update (float value, bool alsoFiveSecondMax)=0 |
virtual float | GetGlobalMax () const =0 |
virtual float | GetFiveSecMax () const =0 |
virtual float | GetCurrentMax () const =0 |
virtual Direction | GetDirection () const =0 |
virtual bool | IsInvisible () const =0 |
Private Attributes | |
DownwardMeterValueProvider | mDownwardProvider |
Additional Inherited Members | |
Public Types inherited from MeterValueProvider | |
enum class | Direction { Upwards , Downwards } |
Static Public Member Functions inherited from MeterValueProvider | |
static std::unique_ptr< MeterValueProvider > | Create (Direction direction) |
Audacity: A Digital Audio Editor
Matthieu Hodgkinson
Definition at line 15 of file UpwardMeterValueProvider.h.
UpwardMeterValueProvider::UpwardMeterValueProvider | ( | ) |
Audacity: A Digital Audio Editor
Matthieu Hodgkinson
Definition at line 13 of file UpwardMeterValueProvider.cpp.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 33 of file UpwardMeterValueProvider.cpp.
References DownwardMeterValueProvider::GetCurrentMax(), and mDownwardProvider.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 38 of file UpwardMeterValueProvider.cpp.
References MeterValueProvider::Upwards.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 28 of file UpwardMeterValueProvider.cpp.
References DownwardMeterValueProvider::GetFiveSecMax(), and mDownwardProvider.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 23 of file UpwardMeterValueProvider.cpp.
References DownwardMeterValueProvider::GetGlobalMax(), and mDownwardProvider.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 43 of file UpwardMeterValueProvider.cpp.
References DownwardMeterValueProvider::IsInvisible(), and mDownwardProvider.
|
overridevirtual |
Implements MeterValueProvider.
Definition at line 18 of file UpwardMeterValueProvider.cpp.
References mDownwardProvider, and DownwardMeterValueProvider::Update().
|
private |
Definition at line 29 of file UpwardMeterValueProvider.h.
Referenced by GetCurrentMax(), GetFiveSecMax(), GetGlobalMax(), IsInvisible(), and Update().