JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AnimatedPosition< Behaviour >::Listener Class Referenceabstract

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

#include <juce_AnimatedPosition.h>

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 juce::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 juce::AnimatedPosition< Behaviour >::Listener::~Listener ( )
virtualdefault

Member Function Documentation

◆ positionChanged()

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

Called synchronously when an AnimatedPosition changes.

Referenced by juce::AnimatedPosition< Behaviour >::setPositionAndSendChange().


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