ArduinoMenu 5
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
StaticMenu< I, II > Class Template Reference

#include <item.h>

Public Types

using This = StaticMenu< I >
 
using Next = StaticMenu< II... >
 

Public Member Functions

void enable (idx_t n, bool o)
 
bool enabled (idx_t n) const
 
template<typename N , typename O , typename H >
void printItem (N &n, O &o, H &i, idx_t c)
 
NavAgent activateItem (idx_t n)
 

Static Public Member Functions

template<typename Prompt >
static idx_t selIdx (Prompt &i, idx_t n)
 
static constexpr idx_t size ()
 

Public Attributes

friend Next
 

Protected Attributes

Next next
 

Detailed Description

template<typename I, typename... II>
class StaticMenu< I, II >

The StaticMenu class is a data composition to hold a set of data items this data enumeration can't be changed either in order or in size as its structure will NOT be stored on the final program (compile time structure) data items can however be dynamic or of mixed types


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