43 unsigned long pauseDisplayUpdatesUntil = 0);
56 void updateScreen(uint8_t screenId, uint8_t row,
const char *text)
override;
Interface class to use for callbacks.
Definition CallbackInterface.h:26
Class for the central controller for EX-Display. All application activities are controlled through th...
Definition Controller.h:31
InputManager * _inputManager
Definition Controller.h:69
void begin()
Call once to start displays and input.
Definition Controller.cpp:35
void _selectPreviousScreen(DisplayInterface *display)
Selects the previous screen for the selected display.
Definition Controller.cpp:144
bool _pauseDisplayUpdates
Definition Controller.h:72
void update()
Processes all ongoing activities, monitoring streams, receiving user input, updates displays,...
Definition Controller.cpp:42
~Controller() override
Destructor for the Controller.
Definition Controller.cpp:136
void updateScreen(uint8_t screenId, uint8_t row, const char *text) override
Method to implement updating a screen.
Definition Controller.cpp:81
void _selectNextScreen(DisplayInterface *display)
Selects the next screen for the selected display.
Definition Controller.cpp:160
Stream * _commandStationStream
Definition Controller.h:67
unsigned long _pauseDisplayUpdatesUntil
Definition Controller.h:71
ScreenManager * _screenManager
Definition Controller.h:70
Stream * _consoleStream
Definition Controller.h:66
DisplayManager * _displayManager
Definition Controller.h:68
void onInputAction(InputAction action) override
Method to implement to respond to an input action.
Definition Controller.cpp:93
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
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
Class to mock the basic Stream function equivalent of the Arduino framework.
Definition Stream.h:25