Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
TestAppB Class Reference
Inheritance diagram for TestAppB:
Inheritance graph
[legend]
Collaboration diagram for TestAppB:
Collaboration graph
[legend]

Public Member Functions

const char * getId () const override
 
const char * getTitle () const override
 
void onCreate () override
 
void onStart () override
 
void onResume () override
 
- Public Member Functions inherited from ersa::app::Application
virtual ~Application ()=default
 
virtual void onPause ()
 
virtual void onStop ()
 
virtual void onDestroy ()
 
virtual void onEnter ()
 
virtual void onExit ()
 
void onEvent (const events::Event &event) override
 
virtual void render (hal::IDisplay &display, bool fullRefresh)
 
virtual void render (ui::Canvas &canvas)
 
virtual Rect getPartialBounds () const
 
virtual void tick ()
 
- Public Member Functions inherited from ersa::events::IEventListener
virtual ~IEventListener ()=default
 

Public Attributes

int createCount {0}
 
int startCount {0}
 
int resumeCount {0}
 

Member Function Documentation

◆ getId()

const char * TestAppB::getId ( ) const
inlineoverridevirtual

Return a stable, unique, null-terminated navigation key.

Implements ersa::app::Application.

◆ getTitle()

const char * TestAppB::getTitle ( ) const
inlineoverridevirtual

Return the user-facing name shown by the app drawer.

Implements ersa::app::Application.

◆ onCreate()

void TestAppB::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.

◆ onResume()

void TestAppB::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 TestAppB::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.

Member Data Documentation

◆ createCount

int TestAppB::createCount {0}

◆ resumeCount

int TestAppB::resumeCount {0}

◆ startCount

int TestAppB::startCount {0}

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