supla-device
Loading...
Searching...
No Matches
Supla::Html::CustomParameter Class Reference
Inheritance diagram for Supla::Html::CustomParameter:
Collaboration diagram for Supla::Html::CustomParameter:

Public Member Functions

 CustomParameter (const char *paramTag, const char *paramLabel, int32_t defaultValue=0)
void send (Supla::WebSender *sender) override
bool handleResponse (const char *key, const char *value) override
int32_t getParameterValue ()
void setParameterValue (const int32_t)
Public Member Functions inherited from Supla::HtmlElement
HtmlElement * next ()
 HtmlElement (HtmlSection section=HTML_SECTION_FORM)
virtual void onProcessingEnd ()

Protected Attributes

int32_t parameterValue = 0
char * tag = nullptr
char * label = nullptr
Protected Attributes inherited from Supla::HtmlElement
HtmlElement * nextPtr = nullptr

Additional Inherited Members

Static Public Member Functions inherited from Supla::HtmlElement
static HtmlElement * begin ()
static HtmlElement * last ()
static const char * selected (bool isSelected)
static const char * checked (bool isChecked)
Public Attributes inherited from Supla::HtmlElement
HtmlSection section
Static Protected Attributes inherited from Supla::HtmlElement
static HtmlElement * firstPtr = nullptr

Member Function Documentation

◆ handleResponse()

bool CustomParameter::handleResponse ( const char * key,
const char * value )
overridevirtual

Reimplemented from Supla::HtmlElement.

◆ send()

void CustomParameter::send ( Supla::WebSender * sender)
overridevirtual

Implements Supla::HtmlElement.


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