Gin
|
Run multiple timers from one juce::Timer per rate. More...
Public Member Functions | |
CoalescedTimer ()=default | |
~CoalescedTimer () | |
void | startTimer (int ms) |
void | startTimerHz (int hz) |
void | stopTimer () |
Public Attributes | |
std::function< void()> | onTimer |
Run multiple timers from one juce::Timer per rate.
|
default |
CoalescedTimer::~CoalescedTimer | ( | ) |
References stopTimer().
void CoalescedTimer::startTimer | ( | int | ms | ) |
References stopTimer().
Referenced by startTimerHz().
void CoalescedTimer::startTimerHz | ( | int | hz | ) |
References startTimer(), and stopTimer().
void CoalescedTimer::stopTimer | ( | ) |
Referenced by startTimer(), startTimerHz(), and ~CoalescedTimer().
std::function<void ()> CoalescedTimer::onTimer |