|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Public Member Functions | |
| MultiTimerCallback (const int tid, MultiTimer &mt) noexcept | |
| void | timerCallback () override |
| The user-defined callback routine that actually gets called periodically. | |
Public Member Functions inherited from juce::Timer | |
| virtual | ~Timer () |
| Destructor. | |
| void | startTimer (int intervalInMilliseconds) noexcept |
| Starts the timer and sets the length of interval required. | |
| void | startTimerHz (int timerFrequencyHz) noexcept |
| Starts the timer with an interval specified in Hertz. | |
| void | stopTimer () noexcept |
| Stops the timer. | |
| bool | isTimerRunning () const noexcept |
| Returns true if the timer is currently running. | |
| int | getTimerInterval () const noexcept |
| Returns the timer's interval. | |
Public Attributes | |
| MultiTimer & | owner |
| const int | timerID |
Additional Inherited Members | |
Static Public Member Functions inherited from juce::Timer | |
| static void JUCE_CALLTYPE | callAfterDelay (int milliseconds, std::function< void()> functionToCall) |
| Invokes a lambda after a given number of milliseconds. | |
| static void JUCE_CALLTYPE | callPendingTimersSynchronously () |
| For internal use only: invokes any timers that need callbacks. | |
Protected Member Functions inherited from juce::Timer | |
| Timer () noexcept | |
| Creates a Timer. | |
| Timer (const Timer &) noexcept | |
| Creates a copy of another timer. | |
Definition at line 26 of file juce_MultiTimer.cpp.
|
noexcept |
Definition at line 28 of file juce_MultiTimer.cpp.
|
overridevirtual |
The user-defined callback routine that actually gets called periodically.
It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.
Implements juce::Timer.
Definition at line 33 of file juce_MultiTimer.cpp.
| MultiTimer& juce::MultiTimerCallback::owner |
Definition at line 38 of file juce_MultiTimer.cpp.
Definition at line 39 of file juce_MultiTimer.cpp.