Gin
Public Member Functions | Public Attributes | List of all members
LambdaTimer Class Reference

Like juce::Timer, but it calls a std::function<> More...

Inherits juce::Timer.

Public Member Functions

 LambdaTimer (std::function< void()> func=nullptr)
 

Public Attributes

std::function< void()> onTimer
 

Detailed Description

Like juce::Timer, but it calls a std::function<>

Constructor & Destructor Documentation

◆ LambdaTimer()

LambdaTimer::LambdaTimer ( std::function< void()>  func = nullptr)

Member Data Documentation

◆ onTimer

std::function<void()> LambdaTimer::onTimer

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