OpenShot Library | libopenshot-audio  0.2.0
juce::LambdaInvoker Struct Reference
+ Inheritance diagram for juce::LambdaInvoker:

Public Member Functions

 LambdaInvoker (int milliseconds, std::function< void()> f)
 
void timerCallback () override
 The user-defined callback routine that actually gets called periodically. More...
 

Public Attributes

std::function< void()> function
 

Detailed Description

Definition at line 365 of file juce_Timer.cpp.

Member Function Documentation

◆ timerCallback()

void juce::LambdaInvoker::timerCallback ( )
inlineoverridevirtual

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 372 of file juce_Timer.cpp.


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