ardour
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ARDOUR::LogCurve Class Reference

#include <logcurve.h>

Inheritance diagram for ARDOUR::LogCurve:
ARDOUR::LogCurveIn ARDOUR::LogCurveOut

Public Member Functions

 LogCurve (float steepness=0.2, uint32_t len=0)
 
bool operator== (const LogCurve &other) const
 
bool operator!= (const LogCurve &other) const
 
float value (float frac) const
 
float value (uint32_t pos) const
 
float invert_value (float frac) const
 
float invert_value (uint32_t pos) const
 
void fill (float *vec, uint32_t veclen, bool invert) const
 
float steepness () const
 
uint32_t length () const
 
void set_steepness (float steepness)
 
void set_length (uint32_t len)
 

Public Attributes

Glib::Threads::Mutex lock
 

Protected Attributes

float a
 
float b
 
float S
 
uint32_t l
 

Detailed Description

Definition at line 28 of file logcurve.h.

Constructor & Destructor Documentation

ARDOUR::LogCurve::LogCurve ( float  steepness = 0.2,
uint32_t  len = 0 
)
inline

Definition at line 30 of file logcurve.h.

Member Function Documentation

void ARDOUR::LogCurve::fill ( float *  vec,
uint32_t  veclen,
bool  invert 
) const
inline

Definition at line 61 of file logcurve.h.

float ARDOUR::LogCurve::invert_value ( float  frac) const
inline

Definition at line 53 of file logcurve.h.

float ARDOUR::LogCurve::invert_value ( uint32_t  pos) const
inline

Definition at line 57 of file logcurve.h.

uint32_t ARDOUR::LogCurve::length ( ) const
inline

Definition at line 87 of file logcurve.h.

bool ARDOUR::LogCurve::operator!= ( const LogCurve other) const
inline

Definition at line 41 of file logcurve.h.

bool ARDOUR::LogCurve::operator== ( const LogCurve other) const
inline

Definition at line 37 of file logcurve.h.

void ARDOUR::LogCurve::set_length ( uint32_t  len)
inline

Definition at line 94 of file logcurve.h.

void ARDOUR::LogCurve::set_steepness ( float  steepness)
inline

Definition at line 89 of file logcurve.h.

float ARDOUR::LogCurve::steepness ( ) const
inline

Definition at line 86 of file logcurve.h.

float ARDOUR::LogCurve::value ( float  frac) const
inline

Definition at line 45 of file logcurve.h.

float ARDOUR::LogCurve::value ( uint32_t  pos) const
inline

Definition at line 49 of file logcurve.h.

Member Data Documentation

float ARDOUR::LogCurve::a
protected

Definition at line 99 of file logcurve.h.

float ARDOUR::LogCurve::b
protected

Definition at line 100 of file logcurve.h.

uint32_t ARDOUR::LogCurve::l
protected

Definition at line 102 of file logcurve.h.

Glib::Threads::Mutex ARDOUR::LogCurve::lock
mutable

Definition at line 96 of file logcurve.h.

float ARDOUR::LogCurve::S
protected

Definition at line 101 of file logcurve.h.


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