FrontendApplication is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

FrontendApplication class

The FrontendApplication is the concrete implementation of an MVPApplication for a specific application. Its primary job is to provide functions for switching between screens (presenter/view pairs). By convention these functions are usually called gotoXXScreen(). Note that the base class Application is a singleton. Switching screen can be done from anywhere (usually presenters) by e.g. the following: static_cast(Application::getInstance())->gotoXXScreen();

Syntax

class FrontendApplication : public MVPApplication { public:     FrontendApplication(Model& m, FrontendHeap& heap);     virtual ~FrontendApplication() { }     virtual void handleTickEvent();     void gotoMenuScreen();     void gotoMenuScreenNoAnimation();     void gotoHomeAutomationScreen();     void gotoAnimatedGraphicsScreen();     void gotoLiveDataDisplayScreen();     void gotoChromArtScreen(); private:     Callback<FrontendApplication> transitionCallback;     FrontendHeap& frontendHeap;     Model& model;     void gotoMenuScreenImpl();     void gotoMenuScreenNoAnimationImpl();     void gotoHomeAutomationScreenImpl();     void gotoAnimatedGraphicsScreenImpl();     void gotoLiveDataDisplayScreenImpl();     void gotoChromArtScreenImpl(); };

Fields

transitionCallback

No summary provided. Read more...

frontendHeap

No summary provided. Read more...

model

No summary provided. Read more...

Methods

handleTickEvent()

No summary provided. Read more...

gotoMenuScreen()

No summary provided. Read more...

gotoMenuScreenNoAnimation()

No summary provided. Read more...

gotoHomeAutomationScreen()

No summary provided. Read more...

gotoAnimatedGraphicsScreen()

No summary provided. Read more...

gotoLiveDataDisplayScreen()

No summary provided. Read more...

gotoChromArtScreen()

No summary provided. Read more...

gotoMenuScreenImpl()

No summary provided. Read more...

gotoMenuScreenNoAnimationImpl()

No summary provided. Read more...

gotoHomeAutomationScreenImpl()

No summary provided. Read more...

gotoAnimatedGraphicsScreenImpl()

No summary provided. Read more...

gotoLiveDataDisplayScreenImpl()

No summary provided. Read more...

gotoChromArtScreenImpl()

No summary provided. Read more...

References

LocationReferrerScopeText
FrontendApplication.hpp:40
class FrontendApplication : public MVPApplication
AnimatedGraphicsTile.hpp:49AnimatedGraphicsTile::gotoAssociatedScreen()
static_cast<FrontendApplication*>(Application::getInstance())->gotoAnimatedGraphicsScreen();
AnimatedGraphicsView.cpp:83AnimatedGraphicsView::buttonPressedhandler()
static_cast<FrontendApplication*>(Application::getInstance())->gotoMenuScreen();
ChromArtTile.hpp:49ChromArtTile::gotoAssociatedScreen()
static_cast<FrontendApplication*>(Application::getInstance())->gotoChromArtScreen();
ChromArtView.cpp:150ChromArtView::buttonPressedhandler()
static_cast<FrontendApplication*>(Application::getInstance())->gotoMenuScreen();
FrontendApplication.cpp:41FrontendApplication::FrontendApplication()
FrontendApplication::FrontendApplication(Model& m, FrontendHeap& heap)
FrontendApplication.cpp:49FrontendApplication::handleTickEvent()
void FrontendApplication::handleTickEvent()
FrontendApplication.cpp:55FrontendApplication::gotoMenuScreen()
void FrontendApplication::gotoMenuScreen()
FrontendApplication.cpp:61FrontendApplication::gotoMenuScreenImpl()
void FrontendApplication::gotoMenuScreenImpl()
FrontendApplication.cpp:66FrontendApplication::gotoMenuScreenNoAnimation()
void FrontendApplication::gotoMenuScreenNoAnimation()
FrontendApplication.cpp:72FrontendApplication::gotoMenuScreenNoAnimationImpl()
void FrontendApplication::gotoMenuScreenNoAnimationImpl()
FrontendApplication.cpp:77FrontendApplication::gotoHomeAutomationScreen()
void FrontendApplication::gotoHomeAutomationScreen()
FrontendApplication.cpp:83FrontendApplication::gotoHomeAutomationScreenImpl()
void FrontendApplication::gotoHomeAutomationScreenImpl()
FrontendApplication.cpp:88FrontendApplication::gotoAnimatedGraphicsScreen()
void FrontendApplication::gotoAnimatedGraphicsScreen()
FrontendApplication.cpp:94FrontendApplication::gotoAnimatedGraphicsScreenImpl()
void FrontendApplication::gotoAnimatedGraphicsScreenImpl()
FrontendApplication.cpp:99FrontendApplication::gotoLiveDataDisplayScreen()
void FrontendApplication::gotoLiveDataDisplayScreen()
FrontendApplication.cpp:105FrontendApplication::gotoLiveDataDisplayScreenImpl()
void FrontendApplication::gotoLiveDataDisplayScreenImpl()
FrontendApplication.cpp:110FrontendApplication::gotoChromArtScreen()
void FrontendApplication::gotoChromArtScreen()
FrontendApplication.cpp:116FrontendApplication::gotoChromArtScreenImpl()
void FrontendApplication::gotoChromArtScreenImpl()
FrontendHeap.hpp:116FrontendHeap::appFrontendHeap
FrontendApplication app;
HomeAutomationPresenter.cpp:74HomeAutomationPresenter::exitScreen()
static_cast<FrontendApplication*>(Application::getInstance())->gotoMenuScreen();
HomeAutomationTile.hpp:53HomeAutomationTile::gotoAssociatedScreen()
static_cast<FrontendApplication*>(Application::getInstance())->gotoHomeAutomationScreen();
LiveDataDisplayTile.hpp:50LiveDataDisplayTile::gotoAssociatedScreen()
static_cast<FrontendApplication*>(Application::getInstance())->gotoLiveDataDisplayScreen();
LiveDataDisplayView.cpp:101LiveDataDisplayView::buttonPressedhandler()
static_cast<FrontendApplication*>(Application::getInstance())->gotoMenuScreen();

Class Tree

Child classes
FrontendApplication
all items filtered out
Variables of FrontendApplication type
FrontendHeap::app
all items filtered out
FrontendApplication