GM6000 Digital Heater Controller Branch: main
SDX-1330
List of all members | Public Member Functions | Protected Attributes
Eros::Ui::Home::Screen Class Reference

This class implements the Home screen. More...

Detailed Description

This class implements the Home screen.

#include <Screen.h>

Inheritance diagram for Eros::Ui::Home::Screen:
[legend]
Collaboration diagram for Eros::Ui::Home::Screen:
[legend]

Public Member Functions

 Screen (Ajax::ScreenMgr::Navigation &screenMgr, pimoroni::PicoGraphics &graphics)
 Constructor.
 
void enter (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
void exit (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
void sleep (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
void wake (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
void dispatch (AjaxScreenMgrEvent_T event, Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
bool tick (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
bool refresh (Cpl::System::ElapsedTime::Precision_T currentElapsedTime) noexcept
 See Ajax::ScreenMgr::ScreenApi.
 
- Public Member Functions inherited from Ajax::ScreenMgr::ScreenApi
virtual ~ScreenApi ()
 Virtual destructor.
 

Protected Attributes

Ajax::ScreenMgr::Navigationm_screenMgr
 Handle to the screen manager.
 
pimoroni::PicoGraphics & m_graphics
 Graphic library handle.
 
AjaxScreenMgrEvent_T m_lastButton
 Last pressed button.
 
uint32_t m_timerMarker
 Time marker used to trigger 1second polling of the space temperature.
 
bool m_stale
 Dirty flag (i.e. need the screen manager to call refresh())
 

Constructor & Destructor Documentation

◆ Screen()

Eros::Ui::Home::Screen::Screen ( Ajax::ScreenMgr::Navigation screenMgr,
pimoroni::PicoGraphics &  graphics 
)

Constructor.

Member Function Documentation

◆ dispatch()

void Eros::Ui::Home::Screen::dispatch ( AjaxScreenMgrEvent_T  event,
Cpl::System::ElapsedTime::Precision_T  currentElapsedTime 
)
virtualnoexcept

◆ enter()

void Eros::Ui::Home::Screen::enter ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

◆ exit()

void Eros::Ui::Home::Screen::exit ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

◆ refresh()

bool Eros::Ui::Home::Screen::refresh ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

◆ sleep()

void Eros::Ui::Home::Screen::sleep ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

◆ tick()

bool Eros::Ui::Home::Screen::tick ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

◆ wake()

void Eros::Ui::Home::Screen::wake ( Cpl::System::ElapsedTime::Precision_T  currentElapsedTime)
virtualnoexcept

Member Data Documentation

◆ m_graphics

pimoroni::PicoGraphics& Eros::Ui::Home::Screen::m_graphics
protected

Graphic library handle.

◆ m_lastButton

AjaxScreenMgrEvent_T Eros::Ui::Home::Screen::m_lastButton
protected

Last pressed button.

◆ m_screenMgr

Ajax::ScreenMgr::Navigation& Eros::Ui::Home::Screen::m_screenMgr
protected

Handle to the screen manager.

◆ m_stale

bool Eros::Ui::Home::Screen::m_stale
protected

Dirty flag (i.e. need the screen manager to call refresh())

◆ m_timerMarker

uint32_t Eros::Ui::Home::Screen::m_timerMarker
protected

Time marker used to trigger 1second polling of the space temperature.


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