EmlaLockSafe
Tools Class Reference

class providing some static functions More...

#include <Tools.h>

Static Public Member Functions

static void tickWifiSymbol (LiquidCrystal_PCF8574 *display, bool forceRedraw)
 tick routine updating the wifi signal strength icon More...
 
static void waitAnimation (LiquidCrystal_PCF8574 *display, std::function< bool()> stillActive)
 Shows the animation while waiting until the callback returns false. More...
 

Detailed Description

class providing some static functions

Author
Hugo3132

Member Function Documentation

◆ tickWifiSymbol()

static void Tools::tickWifiSymbol ( LiquidCrystal_PCF8574 *  display,
bool  forceRedraw 
)
inlinestatic

tick routine updating the wifi signal strength icon

Parameters
displaypointer to the display
forceRedrawif true the icon is redrawn

◆ waitAnimation()

static void Tools::waitAnimation ( LiquidCrystal_PCF8574 *  display,
std::function< bool()>  stillActive 
)
inlinestatic

Shows the animation while waiting until the callback returns false.

Parameters
stillActivecallback function checking if the animation should be shown

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