GM6000 Digital Heater Controller Branch: main
SDX-1330
List of all members | Public Member Functions | Protected Types | Protected Attributes
Eros::Ui::LcdTest::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::LcdTest::Screen:
[legend]
Collaboration diagram for Eros::Ui::LcdTest::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 Types

enum  ColorState_T {
  RED = 0 , GREEN , BLUE , BLACK ,
  WHITE , FIRST = RED , LAST = WHITE
}
 Color state. More...
 

Protected Attributes

Ajax::ScreenMgr::Navigationm_screenMgr
 Handle to the screen manager.
 
pimoroni::PicoGraphics & m_graphics
 Graphic library handle.
 
ColorState_T m_color
 Internal (color) state.
 
bool m_stale
 My internal 'dirty' flag.
 

Member Enumeration Documentation

◆ ColorState_T

Color state.

Enumerator
RED 

Background: Red.

GREEN 

Background: Green.

BLUE 

Background: Blue.

BLACK 

Background: Black.

WHITE 

Background: White.

FIRST 

Marker to the first color.

LAST 

Marker to the last color.

Constructor & Destructor Documentation

◆ Screen()

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

Constructor.

Member Function Documentation

◆ dispatch()

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

◆ enter()

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

◆ exit()

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

◆ refresh()

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

◆ sleep()

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

◆ tick()

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

◆ wake()

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

Member Data Documentation

◆ m_color

ColorState_T Eros::Ui::LcdTest::Screen::m_color
protected

Internal (color) state.

◆ m_graphics

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

Graphic library handle.

◆ m_screenMgr

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

Handle to the screen manager.

◆ m_stale

bool Eros::Ui::LcdTest::Screen::m_stale
protected

My internal 'dirty' flag.


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