EX-Display
EX-Display
Loading...
Searching...
No Matches
Configurator Class Reference

#include <Configurator.h>

Collaboration diagram for Configurator:
[legend]

Public Member Functions

 Configurator (Stream *consoleStream, Stream *commandStationStream, LogLevel logLevel=LogLevel::LOG_WARN)
 Constructor for this Configurator.
 
void initialise ()
 Call all one-shot initialisation or begin methods on startup.
 
StreamgetConsoleStream ()
 Get the console Stream instance for this configurator.
 
StreamgetCommandStationStream ()
 Get the CommandStation connection Stream instance for this configurator.
 
LoggergetLogger ()
 Get the Logger instance for this Configurator.
 
DisplayManagergetDisplayManager ()
 Get the DisplayManager instance for this Configurator.
 
InputManagergetInputManager ()
 Get the InputManager instance for this Configurator.
 
ScreenManagergetScreenManager ()
 Get the ScreenManager instance for this Configurator.
 
ControllergetController ()
 Get the Controller instance for this Configurator.
 
 ~Configurator ()
 Destructor for the Configurator.
 

Private Attributes

Stream_consoleStream
 
Stream_commandStationStream
 
Logger_logger
 
DisplayManager_displayManager
 
InputManager_inputManager
 
ScreenManager_screenManager
 
Controller_controller
 

Constructor & Destructor Documentation

◆ Configurator()

Configurator::Configurator ( Stream consoleStream,
Stream commandStationStream,
LogLevel  logLevel = LogLevel::LOG_WARN 
)

Constructor for this Configurator.

Parameters
consoleStreamPointer to the Stream for console interaction
commandStationStreamPointer to the Stream for the CommandStation connection
logLevelLogLevel to set (default WARN)
Here is the call graph for this function:

◆ ~Configurator()

Configurator::~Configurator ( )

Destructor for the Configurator.

Here is the call graph for this function:

Member Function Documentation

◆ getCommandStationStream()

Stream * Configurator::getCommandStationStream ( )

Get the CommandStation connection Stream instance for this configurator.

Returns
Pointer to the Stream
Here is the caller graph for this function:

◆ getConsoleStream()

Stream * Configurator::getConsoleStream ( )

Get the console Stream instance for this configurator.

Returns
Pointer to the Stream
Here is the caller graph for this function:

◆ getController()

Controller * Configurator::getController ( )

Get the Controller instance for this Configurator.

Returns
Pointer to the Controller
Here is the caller graph for this function:

◆ getDisplayManager()

DisplayManager * Configurator::getDisplayManager ( )

Get the DisplayManager instance for this Configurator.

Returns
Pointer to the DisplayManager
Here is the caller graph for this function:

◆ getInputManager()

InputManager * Configurator::getInputManager ( )

Get the InputManager instance for this Configurator.

Returns
Pointer to the InputManager
Here is the caller graph for this function:

◆ getLogger()

Logger * Configurator::getLogger ( )

Get the Logger instance for this Configurator.

Returns
Pointer to the Logger
Here is the caller graph for this function:

◆ getScreenManager()

ScreenManager * Configurator::getScreenManager ( )

Get the ScreenManager instance for this Configurator.

Returns
Pointer to the ScreenManager
Here is the caller graph for this function:

◆ initialise()

void Configurator::initialise ( )

Call all one-shot initialisation or begin methods on startup.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _commandStationStream

Stream* Configurator::_commandStationStream
private

◆ _consoleStream

Stream* Configurator::_consoleStream
private

◆ _controller

Controller* Configurator::_controller
private

◆ _displayManager

DisplayManager* Configurator::_displayManager
private

◆ _inputManager

InputManager* Configurator::_inputManager
private

◆ _logger

Logger* Configurator::_logger
private

◆ _screenManager

ScreenManager* Configurator::_screenManager
private

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