Dilbert
Firmware for the Dilbert interactive badge.
 All Classes Files Functions Variables Enumerations Macros Pages
Public Member Functions | List of all members
DilbertApp Class Reference

Displays Dilbert image. More...

#include <DilbertApp.h>

Inheritance diagram for DilbertApp:
Inheritance graph
[legend]
Collaboration diagram for DilbertApp:
Collaboration graph
[legend]

Public Member Functions

virtual void onEntry ()
 Called when the application is entered. More...
 
- Public Member Functions inherited from App
 App (char *name)
 Creates a new instance of a badge application. More...
 
char * name ()
 Gets the name of the application. More...
 
void setBackgroundColour (uint16_t colour)
 Sets the background fill colour of the display for this application. More...
 
virtual void create ()
 Creates the application. More...
 
virtual void run ()
 Called in a loop while the application is active. More...
 
virtual void exit ()
 Exits the application.
 
virtual void onExit ()
 Called when the application exits. More...
 
virtual void destroy ()
 Destroys the application. More...
 

Additional Inherited Members

- Protected Member Functions inherited from App
virtual bool handleButton (IButton *button)
 Handle button presses. More...
 
- Protected Attributes inherited from App
Dilbertm_badge
 Pointer to badge driver.
 
AppManagerm_manager
 Pointer to application manager.
 
char * m_name
 Name of application.
 
bool m_ready
 If the application has been created.
 
uint16_t m_backgroundColour
 Background colour.
 

Detailed Description

Displays Dilbert image.

Author
Iain Yarnall

Member Function Documentation

virtual void DilbertApp::onEntry ( )
inlinevirtual

Called when the application is entered.

Initial state should be set here, particularly for the display.

Reimplemented from App.


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