EmlaLockSafe
views::UnlockedMainMenu Class Reference

Main menu as long as there is no active session. More...

#include <UnlockedMainMenu.h>

Inheritance diagram for views::UnlockedMainMenu:

Public Member Functions

 UnlockedMainMenu (LiquidCrystal_PCF8574 *display, RotaryEncoder *encoder, const int &numberOfColumns, const int &numberOfRows)
 Construct a new main menu object. More...
 
 UnlockedMainMenu (const UnlockedMainMenu &other)=delete
 Copy constructor - not available. More...
 
 UnlockedMainMenu (UnlockedMainMenu &&other) noexcept=delete
 Move constructor - not available otherwise we get problems with the callbacks. More...
 
virtual void tick (const bool &forceRedraw)
 called during the loop function More...
 

Protected Member Functions

virtual void activate ()
 called as soon as the view becomes active More...
 

Detailed Description

Main menu as long as there is no active session.

Constructor & Destructor Documentation

◆ UnlockedMainMenu() [1/3]

views::UnlockedMainMenu::UnlockedMainMenu ( LiquidCrystal_PCF8574 *  display,
RotaryEncoder *  encoder,
const int &  numberOfColumns,
const int &  numberOfRows 
)
inline

Construct a new main menu object.

Parameters
displaypointer to the display instance
encoderpointer to the encoder instance
numberOfColumnsnumber of display-columns
numberOfRowsnumber of display-rows

◆ UnlockedMainMenu() [2/3]

views::UnlockedMainMenu::UnlockedMainMenu ( const UnlockedMainMenu other)
delete

Copy constructor - not available.

◆ UnlockedMainMenu() [3/3]

views::UnlockedMainMenu::UnlockedMainMenu ( UnlockedMainMenu &&  other)
deletenoexcept

Move constructor - not available otherwise we get problems with the callbacks.

Member Function Documentation

◆ activate()

virtual void views::UnlockedMainMenu::activate ( )
inlineprotectedvirtual

called as soon as the view becomes active

◆ tick()

virtual void views::UnlockedMainMenu::tick ( const bool &  forceRedraw)
inlinevirtual

called during the loop function

Parameters
forceRedrawif true everything should be redrawn

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