You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
AutoConnect/mkdocs/apiaux.md

2.2 KiB

Constructor

AutoConnectAux

AutoConnectAux(const String& uri = String(""), const String& title = String(""), const bool menu = true, const AutoConnectElementVT addons = AutoConnectElementVT())

Public member functions

add

void add(AutoConnectElement& addon)
void add(AutoConnectElementVT addons)

Add an element to the auxiliary page. Add the element set to the auxiliary page.

template T& getElement(const String& name); AutoConnectElement* getElement(const String& name); /< Get registered AutoConnectElement as specified name */ void menu(const bool post) { _menu = post; } /< Set or reset the display as menu item for this aux */ bool release(const String& name); /< Release an AutoConnectElement */ bool setElementValue(const String& name, const String value); /< Set value to specified element */ bool setElementValue(const String& name, std::vector const& values); /< Set values collection to specified element */ void setTitle(const String title) { _title = title; } /< Set a title of the auxiliary page */ void on(const AuxHandlerFunctionT handler, const AutoConnectExitOrder_t order = AC_EXIT_AHEAD) { _handler = handler; _order = order; } /< Set user handler */ bool load(const String& in); /< Load whole elements to AutoConnectAux Page / bool load(const __FlashStringHelper in); /< Load whole elements to AutoConnectAux Page */ bool load(Stream& in); /< Load whole elements to AutoConnectAux Page */ bool loadElement(const String& in, const String& name = String("")); /< Load specified element / bool loadElement(const __FlashStringHelper in, const String& name = String("")); /< Load specified element */ bool loadElement(Stream& in, const String& name = String("")); /< Load specified element */ size_t saveElement(Stream& out, std::vector const& names = {}); /< Write elements of AutoConnectAux to the stream */