tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::engine::LambdaTimer Class Reference
Inheritance diagram for tracktion::engine::LambdaTimer:
juce::Timer

Public Member Functions

 LambdaTimer (std::function< void()> newCallback)
 
void setCallback (std::function< void()> newCallback)
 
template<typename DurationType >
void startTimer (std::chrono::duration< DurationType > interval)
 
void timerCallback () override
 
- Public Member Functions inherited from juce::Timer
void startTimer (int intervalInMilliseconds) noexcept
 
void startTimerHz (int timerFrequencyHz) noexcept
 
void stopTimer () noexcept
 
bool isTimerRunning () const noexcept
 
int getTimerInterval () const noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
 
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 
- Protected Member Functions inherited from juce::Timer
 Timer (const Timer &) noexcept
 

Detailed Description

Definition at line 119 of file tracktion_AsyncFunctionUtils.h.

Constructor & Destructor Documentation

◆ LambdaTimer()

tracktion::engine::LambdaTimer::LambdaTimer ( std::function< void()>  newCallback)

Definition at line 124 of file tracktion_AsyncFunctionUtils.h.

Member Function Documentation

◆ setCallback()

void tracktion::engine::LambdaTimer::setCallback ( std::function< void()>  newCallback)

Definition at line 129 of file tracktion_AsyncFunctionUtils.h.

◆ startTimer()

template<typename DurationType >
void tracktion::engine::LambdaTimer::startTimer ( std::chrono::duration< DurationType >  interval)

Definition at line 135 of file tracktion_AsyncFunctionUtils.h.

◆ timerCallback()

void tracktion::engine::LambdaTimer::timerCallback ( )
overridevirtual

Implements juce::Timer.

Definition at line 142 of file tracktion_AsyncFunctionUtils.h.


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