Public Member Functions | List of all members
GUIUpdater Class Reference

Utility class that reduces the update rate to a common framerate (~30 fps) More...

Public Member Functions

bool shouldUpdate (bool debugInterval=false)
 Call this to check if the last update was longer than 30 ms ago. More...
 

Detailed Description

Utility class that reduces the update rate to a common framerate (~30 fps)

Unlike the UpdateMerger class, this class checks the time between calls to shouldUpdate() and returns true, if 30ms have passed since the last succesfull call to shouldUpdate().

Member Function Documentation

bool shouldUpdate ( bool  debugInterval = false)
inline

Call this to check if the last update was longer than 30 ms ago.

If debugInterval is true, then the interval between calls will be printed in debug mode.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.