18#ifndef DISPLAYMANAGER_H
19#define DISPLAYMANAGER_H
Class to abstract away all physical display implementation to enable multiple display types.
Definition DisplayInterface.h:36
Manages all physical displays.
Definition DisplayManager.h:26
Logger * _logger
Definition DisplayManager.h:70
DisplayInterface * getDisplayById(uint8_t displayId)
Get a DisplayInterface derived instance by its ID.
Definition DisplayManager.cpp:107
void addDisplay(DisplayInterface *display)
Add a DisplayInterface derived instance to the list of displays.
Definition DisplayManager.cpp:25
void startDisplays()
Call the begin() method for all associated Display instances.
Definition DisplayManager.cpp:45
void _setupAllSPICSPins()
Set the chip select pin state for all displays that have it set and select them.
Definition DisplayManager.cpp:132
DisplayInterface * _firstDisplay
Definition DisplayManager.h:69
DisplayInterface * getFirstDisplay()
Get the first DisplayInterface derived instance in the list of displays.
Definition DisplayManager.cpp:105
void setLogger(Logger *logger)
Set the Logger instance.
Definition DisplayManager.cpp:116
void createDisplays()
Parses the displays configured in myConfig.h and creates the list of displays (this is implemented in...
Definition CreateDeviceMacros.h:29
void displayStartupInfo(const char *version)
Calls the displayStartupInfo of all Display instances to display the version.
Definition DisplayManager.cpp:68
DisplayManager()
Constructor for the DisplayManager.
Definition DisplayManager.cpp:23
void _selectSPIDisplay(DisplayInterface *display)
Manually selects SPI displays that require manual selecting via the CS pin - sets pin low.
Definition DisplayManager.cpp:146
void clearAllDisplays()
Clear all displays.
Definition DisplayManager.cpp:56
void update(ScreenManager *screenManager)
Call this routinely to ensure all displays are updated with screens.
Definition DisplayManager.cpp:81
~DisplayManager()
Destructor for the DisplayManager.
Definition DisplayManager.cpp:118
uint8_t _nextDisplayId
Definition DisplayManager.h:71
Class to enable simple logging to a Stream object with different log levels This enables embedding pe...
Definition Logger.h:35
Class to manage all EX-Display screens.
Definition ScreenManager.h:24