Skip to main content

Presenter

The Presenter base class that all application-specific presenters should derive from. Only contains activate and deactivate virtual functions which are called automatically during screen transition.

Public Functions​

virtual voidactivate()
Place initialization code for the Presenter here.
virtual voiddeactivate()
Place cleanup code for the Presenter here.
virtual ~Presenter()
Finalizes an instance of the Presenter class.

Protected Functions​

Presenter()
Initializes a new instance of the Presenter class.

Public Functions Documentation​

activate​

virtual void activate()

Place initialization code for the Presenter here.

The activate function is called automatically when a screen transition causes this Presenter to become active. Place initialization code for the Presenter here.

deactivate​

virtual void deactivate()

Place cleanup code for the Presenter here.

The deactivate function is called automatically when a screen transition causes this Presenter to become inactive. Place cleanup code for the Presenter here.

~Presenter​

virtual ~Presenter()

Finalizes an instance of the Presenter class.

Protected Functions Documentation​

Presenter​

Initializes a new instance of the Presenter class.