Rise
The Vieneo Province
Displays Class Reference

#include <Displays.h>

Collaboration diagram for Displays:
[legend]

Public Member Functions

 Displays (Logger *prmLogger, Bus *prmBus, HMI *prmGui)
 
void RestorePage (std::string screenName)
 
void ChangePage (std::string screenName, std::string pageName)
 
void ChangePage (std::string screenName, int pageNumber)
 
std::string TogglePage (std::string screenName)
 
std::string TogglePageReverse (std::string screenName)
 
void ConfigureScreens (rapidxml::xml_node<> *xml_node)
 
void ConfigureFonts (rapidxml::xml_node<> *xml_node)
 
void OnDestroyDevice ()
 
void ChangeCockpit ()
 
void Render ()
 
void FrameMove (float fElapsed)
 
bool HandleKeyPress (short key, bool shift)
 
void OnLostDevice ()
 
void OnResetDevice ()
 

Private Attributes

Loggerlogger
 
Busbus
 
HMIgui
 
DeviceObjectpDevice = nullptr
 
std::vector< Screenscreens
 
std::vector< Font * > fonts
 

Detailed Description

Definition at line 11 of file Displays.h.

Constructor & Destructor Documentation

◆ Displays()

Displays::Displays ( Logger prmLogger,
Bus prmBus,
HMI prmGui 
)

Definition at line 579 of file Displays.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ChangeCockpit()

void Displays::ChangeCockpit ( )

Definition at line 318 of file Displays.cpp.

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

◆ ChangePage() [1/2]

void Displays::ChangePage ( std::string  screenName,
std::string  pageName 
)

Definition at line 491 of file Displays.cpp.

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

◆ ChangePage() [2/2]

void Displays::ChangePage ( std::string  screenName,
int  pageNumber 
)

Definition at line 514 of file Displays.cpp.

Here is the call graph for this function:

◆ ConfigureFonts()

void Displays::ConfigureFonts ( rapidxml::xml_node<> *  xml_node)

Definition at line 300 of file Displays.cpp.

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

◆ ConfigureScreens()

void Displays::ConfigureScreens ( rapidxml::xml_node<> *  xml_node)

Definition at line 9 of file Displays.cpp.

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

◆ FrameMove()

void Displays::FrameMove ( float  fElapsed)

Definition at line 439 of file Displays.cpp.

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

◆ HandleKeyPress()

bool Displays::HandleKeyPress ( short  key,
bool  shift 
)

Definition at line 462 of file Displays.cpp.

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

◆ OnDestroyDevice()

void Displays::OnDestroyDevice ( )

Definition at line 587 of file Displays.cpp.

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

◆ OnLostDevice()

void Displays::OnLostDevice ( )

Definition at line 473 of file Displays.cpp.

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

◆ OnResetDevice()

void Displays::OnResetDevice ( )

Definition at line 482 of file Displays.cpp.

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

◆ Render()

void Displays::Render ( )

Definition at line 419 of file Displays.cpp.

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

◆ RestorePage()

void Displays::RestorePage ( std::string  screenName)

Definition at line 602 of file Displays.cpp.

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

◆ TogglePage()

std::string Displays::TogglePage ( std::string  screenName)

Definition at line 532 of file Displays.cpp.

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

◆ TogglePageReverse()

std::string Displays::TogglePageReverse ( std::string  screenName)

Definition at line 555 of file Displays.cpp.

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

Member Data Documentation

◆ bus

Bus* Displays::bus
private

Definition at line 14 of file Displays.h.

◆ fonts

std::vector<Font*> Displays::fonts
private

Definition at line 20 of file Displays.h.

◆ gui

HMI* Displays::gui
private

Definition at line 15 of file Displays.h.

◆ logger

Logger* Displays::logger
private

Definition at line 13 of file Displays.h.

◆ pDevice

DeviceObject* Displays::pDevice = nullptr
private

Definition at line 17 of file Displays.h.

◆ screens

std::vector<Screen> Displays::screens
private

Definition at line 19 of file Displays.h.


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