VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
#include <timingfunctions.h>
Public Member Functions | |
InterpolationTimingFunction (uint32_t length, float startPos=0.f, float endPos=1.f) | |
InterpolationTimingFunction (const InterpolationTimingFunction &)=default | |
InterpolationTimingFunction & | operator= (const InterpolationTimingFunction &)=default |
void | addPoint (float time, float pos) |
both values are normalized ones More... | |
float | getPosition (uint32_t milliseconds) override |
![]() | |
TimingFunctionBase (uint32_t length) | |
TimingFunctionBase (const TimingFunctionBase &)=default | |
TimingFunctionBase & | operator= (const TimingFunctionBase &)=default |
uint32_t | getLength () const |
bool | isDone (uint32_t milliseconds) override |
![]() | |
virtual | ~ITimingFunction () noexcept=default |
virtual float | getPosition (uint32_t milliseconds)=0 |
virtual bool | isDone (uint32_t milliseconds)=0 |
Protected Types | |
using | PointMap = std::map< uint32_t, float > |
Protected Attributes | |
PointMap | points |
![]() | |
uint32_t | length |
|
protected |
InterpolationTimingFunction | ( | uint32_t | length, |
float | startPos = 0.f , |
||
float | endPos = 1.f |
||
) |
|
default |
void addPoint | ( | float | time, |
float | pos | ||
) |
both values are normalized ones
|
overridevirtual |
Implements ITimingFunction.
|
default |
|
protected |