COSA
An Object-Oriented Platform for Arduino Programming
Menu::Action Class Referenceabstract

#include <Menu.hh>

Collaboration diagram for Menu::Action:
Collaboration graph

Public Member Functions

virtual bool run (Menu::item_P item)=0
 

Detailed Description

Menu Action handler. Must be sub-classed and the virtual member function run() must be implemented. Holds the state for the menu action.

Definition at line 101 of file Menu.hh.

Member Function Documentation

virtual bool Menu::Action::run ( Menu::item_P  item)
pure virtual

Menu action function for given menu item. Return true(1) if the menu walker should render the display otherwise if the false(0).

Parameters
[in]itemmenu item reference.
Returns
bool

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