JUCE
Public Member Functions | List of all members
AnimatedPosition< Behaviour >::Listener Class Referenceabstract

Implement this class if you need to receive callbacks when the value of an AnimatedPosition changes. More...

Public Member Functions

virtual ~Listener ()=default
 
virtual void positionChanged (AnimatedPosition &, double newPosition)=0
 Called synchronously when an AnimatedPosition changes. More...
 

Detailed Description

template<typename Behaviour>
class AnimatedPosition< Behaviour >::Listener

Implement this class if you need to receive callbacks when the value of an AnimatedPosition changes.

See also
AnimatedPosition::addListener, AnimatedPosition::removeListener

Constructor & Destructor Documentation

◆ ~Listener()

template<typename Behaviour >
virtual AnimatedPosition< Behaviour >::Listener::~Listener ( )
virtualdefault

Member Function Documentation

◆ positionChanged()

template<typename Behaviour >
virtual void AnimatedPosition< Behaviour >::Listener::positionChanged ( AnimatedPosition ,
double  newPosition 
)
pure virtual

Called synchronously when an AnimatedPosition changes.


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