|
SPAOP
|
An implementation of wonder::ConnectionTimer using the Timer class of JUCE. More...
#include <JuceConnectionTimer.h>


Public Member Functions | |
| JuceConnectionTimer (int intervalMs) | |
| Constructor. More... | |
| ~JuceConnectionTimer () | |
| Destructor. More... | |
| void | setListener (Listener *listener) |
| Sets the listener whose timeout() method must be called when the timer runs out. More... | |
| void | start () |
| Starts the timer. More... | |
| void | stop () |
| Stops the timer. More... | |
Public Member Functions inherited from wonder::ConnectionTimer | |
| virtual | ~ConnectionTimer () |
| Destructor. More... | |
Static Public Member Functions | |
| static wonder::ConnectionTimer::Factory * | getFactory () |
| A singleton-getter returning a wonder::ConnectionTimer::Factory that creates instances of JuceConnectionTimer. More... | |
An implementation of wonder::ConnectionTimer using the Timer class of JUCE.
| wonderjuce::JuceConnectionTimer::JuceConnectionTimer | ( | int | intervalMs | ) |
Constructor.
| intervalMs | The timer interval in ms. |
| wonderjuce::JuceConnectionTimer::~JuceConnectionTimer | ( | ) |
Destructor.
|
static |
A singleton-getter returning a wonder::ConnectionTimer::Factory that creates instances of JuceConnectionTimer.
|
virtual |
Sets the listener whose timeout() method must be called when the timer runs out.
| listener | The listener whose timeout() method must be called when the timer runs out. |
Implements wonder::ConnectionTimer.
|
virtual |
Starts the timer.
Once started, the timer must repeatedly call its listener's timeout() method after every timer interval. (A cyclic timer, not a one-shot timer.) In case a timer was stopped and restarted, the timer must act as if it was restarted (meaning the first call to timeout() will happen after a full timer interval has passed).
Implements wonder::ConnectionTimer.
|
virtual |
Stops the timer.
Implements wonder::ConnectionTimer.
1.8.6