|
EmbAJAX
Simplistic framework for creating and handling displays and controls on a web page served by an embeddable device (Arduino or other microcontroller with Arduino support).
|
A static chunk of HTML. More...
#include <EmbAJAX.h>


Public Member Functions | |
| EmbAJAXStatic (const char *content) | |
| void | print () const override |
Public Member Functions inherited from EmbAJAXBase | |
| virtual bool | sendUpdates (uint16_t since, bool first) |
| virtual EmbAJAXElement * | toElement () |
| void | setVisible (bool visible) |
| void | setEnabled (bool enabled) |
| virtual EmbAJAXElement * | findChild (const char *id) const |
Protected Attributes | |
| const char * | _content |
Additional Inherited Members | |
Public Types inherited from EmbAJAXBase | |
| enum | Property { Visibility , Enabledness , Value , FirstElementSpecificProperty , HTMLAllowed } |
Static Public Member Functions inherited from EmbAJAXBase | |
| static void | setDriver (EmbAJAXOutputDriverBase *driver) |
Protected Member Functions inherited from EmbAJAXBase | |
| virtual void | setBasicProperty (uint8_t num, bool status) |
| void | printChildren (EmbAJAXBase **children, size_t num) const |
| bool | sendUpdates (EmbAJAXBase **children, size_t num, uint16_t since, bool first) |
| EmbAJAXElement * | findChild (EmbAJAXBase **children, size_t num, const char *id) const |
| void | printPage (EmbAJAXBase **children, size_t num, const char *_title, const char *_header, uint16_t _min_interval) const |
| void | handleRequest (EmbAJAXBase **children, size_t num, void(*change_callback)()) |
Static Protected Attributes inherited from EmbAJAXBase | |
| static EmbAJAXOutputDriverBase * | _driver |
| static char | itoa_buf [8] |
| constexpr static const char | null_string [1] |
A static chunk of HTML.
This class represents a chunk of static HTML that will not be changed / cannot be interacted with. Neither from the client, nor from the server. This does not have to correspond to a complete HTML element, it can be any fragment.
|
inline |
ctor. Note: Content string is not copied. Don't make this a temporary.