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

ModelListener class

ModelListener is the interface through which the Model can inform the currently active presenter of events. All presenters should derive from this class. It also provides a model pointer for the presenter to interact with the Model. The bind function is called automatically. Add the virtual functions Model should be able to call on the active presenter to this class.

Syntax

class ModelListener;
Implemented in ModelListener.hpp:34

Fields

model

No summary provided. Read more...

Methods

bind()

Sets the model pointer to point to the Model object. Called automatically when switching screen. Read more...

timeUpdated()

No summary provided. Read more...

mcuLoadUpdated()

No summary provided. Read more...

screenSaverMinorTick()

No summary provided. Read more...

screenSaverMajorTick()

No summary provided. Read more...

References

LocationReferrerScopeText
ModelListener.hpp:34
class ModelListener
Model.hpp:23
class ModelListener;
DemoPresenter.hpp:28DemoPresenter
class DemoPresenter : public Presenter, public ModelListener
Model.hpp:54Model::bind()
void bind(ModelListener* listener) { modelListener = listener; }
Model.hpp:79Model::modelListenerModel
ModelListener* modelListener;

Class Tree

Parent classes
all items filtered out
ModelListener
Variables of ModelListener type
ModelListener