Rise
The Vieneo Province
Loading...
Searching...
No Matches
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 ConfigureParams (rapidxml::xml_node<> *xml_node)
void OnCreateDevice ()
void OnDestroyDevice (const char *reason="unspecified")
void ChangeCockpit ()
void Render ()
void FrameMove (float fElapsed)
bool HandleKeyPress (short key, bool shift)
bool UpdateKeyRepeat (const unsigned char *keys, bool shift, float elapsed)
void OnLostDevice ()
void OnResetDevice ()

Private Member Functions

void DeviceCreation ()

Private Attributes

Logger * logger
Bus * bus
HMI * gui
DeviceObject * pDevice = nullptr
unsigned int deviceGeneration = 0
bool renderFailureLogged = false
bool scissorSupported = false
std::vector< Screen > screens
std::vector< Font * > fonts
std::unique_ptr< TurnByTurn > streetNavigation

Detailed Description

Definition at line 13 of file Displays.h.

Constructor & Destructor Documentation

◆ Displays()

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

Definition at line 838 of file Displays.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ChangeCockpit()

void Displays::ChangeCockpit ( )

Definition at line 562 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,
int pageNumber )

Definition at line 773 of file Displays.cpp.

Here is the call graph for this function:

◆ ChangePage() [2/2]

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

Definition at line 750 of file Displays.cpp.

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

◆ ConfigureFonts()

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

Definition at line 414 of file Displays.cpp.

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

◆ ConfigureParams()

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

Definition at line 369 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 10 of file Displays.cpp.

Here is the caller graph for this function:

◆ DeviceCreation()

void Displays::DeviceCreation ( )
private

Definition at line 432 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 677 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 703 of file Displays.cpp.

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

◆ OnCreateDevice()

void Displays::OnCreateDevice ( )

Definition at line 846 of file Displays.cpp.

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

◆ OnDestroyDevice()

void Displays::OnDestroyDevice ( const char * reason = "unspecified")

Definition at line 854 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 722 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 733 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 570 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 882 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 791 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 814 of file Displays.cpp.

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

◆ UpdateKeyRepeat()

bool Displays::UpdateKeyRepeat ( const unsigned char * keys,
bool shift,
float elapsed )

Definition at line 714 of file Displays.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bus

Bus* Displays::bus
private

Definition at line 16 of file Displays.h.

◆ deviceGeneration

unsigned int Displays::deviceGeneration = 0
private

Definition at line 20 of file Displays.h.

◆ fonts

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

Definition at line 25 of file Displays.h.

◆ gui

HMI* Displays::gui
private

Definition at line 17 of file Displays.h.

◆ logger

Logger* Displays::logger
private

Definition at line 15 of file Displays.h.

◆ pDevice

DeviceObject* Displays::pDevice = nullptr
private

Definition at line 19 of file Displays.h.

◆ renderFailureLogged

bool Displays::renderFailureLogged = false
private

Definition at line 21 of file Displays.h.

◆ scissorSupported

bool Displays::scissorSupported = false
private

Definition at line 22 of file Displays.h.

◆ screens

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

Definition at line 24 of file Displays.h.

◆ streetNavigation

std::unique_ptr<TurnByTurn> Displays::streetNavigation
private

Definition at line 26 of file Displays.h.


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