EX-Display
EX-Display
Loading...
Searching...
No Matches
/home/runner/work/EX-Display/EX-Display/Configurator.h
Go to the documentation of this file.
1/*
2 * © 2024 Peter Cole
3 *
4 * This is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * It is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this code. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#ifndef CONFIGURATOR_H
19#define CONFIGURATOR_H
20
21#include "Controller.h"
22#include "Defines.h"
23#include "DisplayManager.h"
24#include "InputManager.h"
25#include "Logger.h"
26#include "ScreenManager.h"
27
79
80#endif // CONFIGURATOR_H
LogLevel
Define valid log levels in ascending order.
Definition Logger.h:30
@ LOG_WARN
Definition Logger.h:30
Definition Configurator.h:28
void initialise()
Call all one-shot initialisation or begin methods on startup.
Definition Configurator.cpp:40
Controller * _controller
Definition Configurator.h:77
Stream * _consoleStream
Definition Configurator.h:71
Logger * _logger
Definition Configurator.h:73
DisplayManager * _displayManager
Definition Configurator.h:74
~Configurator()
Destructor for the Configurator.
Definition Configurator.cpp:73
ScreenManager * _screenManager
Definition Configurator.h:76
Controller * getController()
Get the Controller instance for this Configurator.
Definition Configurator.cpp:65
DisplayManager * getDisplayManager()
Get the DisplayManager instance for this Configurator.
Definition Configurator.cpp:67
ScreenManager * getScreenManager()
Get the ScreenManager instance for this Configurator.
Definition Configurator.cpp:71
Stream * getCommandStationStream()
Get the CommandStation connection Stream instance for this configurator.
Definition Configurator.cpp:61
Stream * getConsoleStream()
Get the console Stream instance for this configurator.
Definition Configurator.cpp:59
Stream * _commandStationStream
Definition Configurator.h:72
Logger * getLogger()
Get the Logger instance for this Configurator.
Definition Configurator.cpp:63
InputManager * getInputManager()
Get the InputManager instance for this Configurator.
Definition Configurator.cpp:69
InputManager * _inputManager
Definition Configurator.h:75
Class for the central controller for EX-Display. All application activities are controlled through th...
Definition Controller.h:31
Manages all physical displays.
Definition DisplayManager.h:26
Definition InputManager.h:27
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