EmlaLockSafe
views::HardwareTestView Class Reference

Main view testing all connected hardware. More...

#include <HardwareTestView.h>

Inheritance diagram for views::HardwareTestView:

Public Member Functions

 HardwareTestView (LiquidCrystal_PCF8574 *display, RotaryEncoder *encoder)
 Construct a vie object. More...
 
 HardwareTestView (const HardwareTestView &other)=delete
 Copy constructor - not available. More...
 
 HardwareTestView (HardwareTestView &&other) noexcept=delete
 Move constructor. 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...
 

Protected Attributes

RotaryEncoder * encoder
 pointer to the encoder instance More...
 

Detailed Description

Main view testing all connected hardware.

Constructor & Destructor Documentation

◆ HardwareTestView() [1/3]

views::HardwareTestView::HardwareTestView ( LiquidCrystal_PCF8574 *  display,
RotaryEncoder *  encoder 
)
inline

Construct a vie object.

Parameters
displaypointer to the LCD instance

◆ HardwareTestView() [2/3]

views::HardwareTestView::HardwareTestView ( const HardwareTestView other)
delete

Copy constructor - not available.

◆ HardwareTestView() [3/3]

views::HardwareTestView::HardwareTestView ( HardwareTestView &&  other)
deletenoexcept

Move constructor.

Member Function Documentation

◆ activate()

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

called as soon as the view becomes active

◆ tick()

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

called during the loop function

Parameters
forceRedrawif true everything should be redrawn

Member Data Documentation

◆ encoder

RotaryEncoder* views::HardwareTestView::encoder
protected

pointer to the encoder instance


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