WPILibC++ 2023.4.3-108-ge5452e3
|
unit_t scale for representing decibel values. More...
#include <units/base.h>
Public Member Functions | |
constexpr | decibel_scale ()=default |
constexpr | decibel_scale (const decibel_scale &)=default |
~decibel_scale ()=default | |
decibel_scale & | operator= (const decibel_scale &)=default |
constexpr | decibel_scale (const T value) noexcept |
template<class... Args> | |
constexpr | decibel_scale (const T value, std::true_type, Args &&...) noexcept |
constexpr T | operator() () const noexcept |
Public Attributes | |
T | m_value |
linearized value More... | |
unit_t scale for representing decibel values.
internally stores linearized values. operator()
returns the value in dB.
T | underlying storage type |
|
inlineconstexprdefault |
|
inlineconstexprdefault |
|
inlinedefault |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinedefault |
T units::decibel_scale< T >::m_value |
linearized value