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

Public Types

enum class  ChannelScope { Primary , Secondary , Both }

Public Member Functions

 ChannelFunctionParameters (Supla::Element *element, const char *primaryLabel=nullptr, const char *secondaryLabel=nullptr)
 ChannelFunctionParameters (Supla::Control::RelayRollerShutterPair *pair, const char *primaryLabel=nullptr, const char *secondaryLabel=nullptr, ChannelScope channelScope=ChannelScope::Both)
 ChannelFunctionParameters (Supla::Control::RelayRollerShutterPair *pair, ChannelScope channelScope)
void send (Supla::WebSender *sender) override
bool handleResponse (const char *key, const char *value) override
Public Member Functions inherited from Supla::HtmlElement
HtmlElement * next ()
 HtmlElement (HtmlSection section=HTML_SECTION_FORM)
virtual void onProcessingEnd ()

Static Public Member Functions

static void renderSelectField (Supla::WebSender *sender, Supla::Channel *channel, const char *key, const char *label)
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)

Additional Inherited Members

Public Attributes inherited from Supla::HtmlElement
HtmlSection section
Protected Attributes inherited from Supla::HtmlElement
HtmlElement * nextPtr = nullptr
Static Protected Attributes inherited from Supla::HtmlElement
static HtmlElement * firstPtr = nullptr

Member Function Documentation

◆ handleResponse()

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

Reimplemented from Supla::HtmlElement.

◆ send()

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

Implements Supla::HtmlElement.


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