Manages all physical displays.
More...
#include <DisplayManager.h>
Manages all physical displays.
◆ DisplayManager()
DisplayManager::DisplayManager |
( |
| ) |
|
◆ ~DisplayManager()
DisplayManager::~DisplayManager |
( |
| ) |
|
◆ _selectSPIDisplay()
Manually selects SPI displays that require manual selecting via the CS pin - sets pin low.
- Parameters
-
◆ _setupAllSPICSPins()
void DisplayManager::_setupAllSPICSPins |
( |
| ) |
|
|
private |
Set the chip select pin state for all displays that have it set and select them.
◆ addDisplay()
Add a DisplayInterface derived instance to the list of displays.
- Parameters
-
display | Pointer to the instance to add |
◆ clearAllDisplays()
void DisplayManager::clearAllDisplays |
( |
| ) |
|
◆ createDisplays()
void DisplayManager::createDisplays |
( |
| ) |
|
◆ displayStartupInfo()
void DisplayManager::displayStartupInfo |
( |
const char * |
version | ) |
|
Calls the displayStartupInfo of all Display instances to display the version.
- Parameters
-
version | EX-Display version |
◆ getDisplayById()
Get a DisplayInterface derived instance by its ID.
- Returns
- Pointer to the specified instance
◆ getFirstDisplay()
Get the first DisplayInterface derived instance in the list of displays.
- Returns
- Pointer to the first instance
◆ setLogger()
void DisplayManager::setLogger |
( |
Logger * |
logger | ) |
|
Set the Logger instance.
- Parameters
-
◆ startDisplays()
void DisplayManager::startDisplays |
( |
| ) |
|
Call the begin() method for all associated Display instances.
◆ update()
Call this routinely to ensure all displays are updated with screens.
- Parameters
-
◆ _firstDisplay
◆ _logger
Logger* DisplayManager::_logger |
|
private |
◆ _nextDisplayId
uint8_t DisplayManager::_nextDisplayId |
|
private |
The documentation for this class was generated from the following files: