40 virtual void Apply(
float fValue,
int nTick) = 0;
51 void MoveTo(
int nTicks,
int nStepTicks,
float fTarget);
65 void Move(
int nTicks,
int nStepTicks,
float fFrom,
float fTarget);
Straight-line interpolator.
Definition interpolator.h:99
Owner of one reference to an Attachment.
Definition ptr.h:16
Ramp(Scheduler *pScheduler, float fValue)
Construct a ramp that holds a value.
float GetValue() const
Report the current value.
void Stop()
Withdraw the next step, leaving the value where it is.
virtual ~Ramp()
Stop the ramp.
void MoveTo(int nTicks, int nStepTicks, float fTarget)
Move from the current value to a target.
void Move(int nTicks, int nStepTicks, float fFrom, float fTarget)
Move from one value to another.
virtual void Apply(float fValue, int nTick)=0
Apply a new value.
Queue of commands that run when the song clock reaches their tick.
Definition scheduler.h:20