◆ getId()
| const char * TestAppA::getId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getTitle()
| const char * TestAppA::getTitle |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ onCreate()
| void TestAppA::onCreate |
( |
| ) |
|
|
inlineoverridevirtual |
Called once before this app is first shown.
Establish durable model state here. Do not assume the display is active or block the UI task; the base implementation is empty so simple apps have no setup boilerplate.
Reimplemented from ersa::app::Application.
◆ onEvent()
Receive a normalized system or input event while this app is active. Override this to translate button, clock, battery, and companion events into app state changes. Payloads are copied values, so app logic does not need to depend on the device driver that produced the event. The base implementation intentionally ignores events for static screens.
Reimplemented from ersa::app::Application.
◆ onPause()
| void TestAppA::onPause |
( |
| ) |
|
|
inlineoverridevirtual |
Called before another screen temporarily covers this app. Stop animations and polling, and release temporary wake/performance leases. The manager retains the app instance, so this is not destruction.
Reimplemented from ersa::app::Application.
◆ onResume()
| void TestAppA::onResume |
( |
| ) |
|
|
inlineoverridevirtual |
Called after onPause() when this app is foregrounded again. Revalidate transient state and resume paused work; durable model state normally remains intact across this temporary transition.
Reimplemented from ersa::app::Application.
◆ onStart()
| void TestAppA::onStart |
( |
| ) |
|
|
inlineoverridevirtual |
Called when the manager selects this app as the foreground screen. Start foreground-only work, such as app-specific event subscriptions or refresh requests. Pair subscriptions with pause/stop cleanup so hidden screens do not process events unnecessarily.
Reimplemented from ersa::app::Application.
◆ onStop()
| void TestAppA::onStop |
( |
| ) |
|
|
inlineoverridevirtual |
Called when navigation leaves this app. Release foreground-only resources and callbacks. Use onPause() for a temporary cover and onDestroy() only when the manager permanently removes the object.
Reimplemented from ersa::app::Application.
◆ render()
| void TestAppA::render |
( |
hal::IDisplay & |
display, |
|
|
bool |
fullRefresh |
|
) |
| |
|
inlineoverridevirtual |
Render through the display HAL. fullRefresh requests a panel-wide update when the hardware supports a distinct full-refresh waveform. The UI calls this only when content is dirty. Draw into the framebuffer; the display manager owns physical refresh timing and panel power so app code stays independent of e-paper driver APIs.
Reimplemented from ersa::app::Application.
◆ createCount
| int TestAppA::createCount {0} |
◆ eventCount
| int TestAppA::eventCount {0} |
◆ pauseCount
| int TestAppA::pauseCount {0} |
◆ renderCount
| int TestAppA::renderCount {0} |
◆ resumeCount
| int TestAppA::resumeCount {0} |
◆ startCount
| int TestAppA::startCount {0} |
◆ stopCount
| int TestAppA::stopCount {0} |
The documentation for this class was generated from the following file: