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

Displays profile/contact information on the display. More...

#include <ProfileApp.h>

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

Public Member Functions

virtual void run ()
 Called in a loop while the application is active. More...
 
- Public Member Functions inherited from StaticDisplayApp
 StaticDisplayApp (char *name)
 Creates a new static content application. More...
 
virtual void onEntry ()
 Called when the application is entered. More...
 
virtual void onExit ()
 Called when the application exits. More...
 
virtual bool handleButton (IButton *button)
 Handle button presses. 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 exit ()
 Exits the application.
 
virtual void destroy ()
 Destroys the application. More...
 

Protected Member Functions

virtual void drawPortrait ()
 Draws the portrait version of the content. More...
 
virtual void drawLandscape ()
 Draws the landscape version of the content. More...
 
- Protected Member Functions inherited from StaticDisplayApp
void redraw (uint8_t orientation)
 Redraws the content at a given orientation. More...
 

Additional Inherited Members

- 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 profile/contact information on the display.

Author
Dan Nixon

Member Function Documentation

virtual void ProfileApp::drawLandscape ( )
inlineprotectedvirtual

Draws the landscape version of the content.

Reimplemented from StaticDisplayApp.

virtual void ProfileApp::drawPortrait ( )
inlineprotectedvirtual

Draws the portrait version of the content.

Reimplemented from StaticDisplayApp.

virtual void ProfileApp::run ( )
inlinevirtual

Called in a loop while the application is active.

Equivalent to loop() in Arduino.

Reimplemented from App.


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