Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Menu Class Reference
Simple menu interface model. More...
#include <Menu.h>
Public Member Functions | |
| Menu () | |
| Create a new menu model. | |
| void | add (char *name, FunctionPtr f) |
| add a new menu item | |
| void | next (void) |
| select the next menu item as the current item | |
| void | prev (void) |
| select the previous menu item as the current item | |
| void | select (void) |
| run the function associated with the current item | |
| char * | getItemName (void) |
| return the text for the current item | |
| char * | getItemName (int i) |
| return text for a specified item | |
| void | printAll (void) |
| print all the menu items | |
Detailed Description
Simple menu interface model.
Definition at line 8 of file Menu.h.
Constructor & Destructor Documentation
Member Function Documentation
| char * getItemName | ( | void | ) |
| char * getItemName | ( | int | i ) |
| void next | ( | void | ) |
| void prev | ( | void | ) |
Generated on Tue Jul 12 2022 21:36:19 by
1.7.2