RSeries astromech firmware
WDynamicElementInt Class Reference

#include <wifi/WifiWebServer.h>

+ Inheritance diagram for WDynamicElementInt:
+ Collaboration diagram for WDynamicElementInt:

Public Member Functions

 WDynamicElementInt (String id, const WDynamic &dynamicRef, int(*getValue)(), void(*setValue)(int))
 
- Public Member Functions inherited from WElement
 WElement (WValue *value=nullptr)
 
 WElement (WAction *action)
 
bool needsReload () const
 
String getID () const
 
void appendCSS (String str)
 
void appendBody (String str)
 
void appendScript (String str)
 
void appendCSSf (const char *fmt,...)
 
void appendBodyf (const char *fmt,...)
 
void appendScriptf (const char *fmt,...)
 
void emitCSS (Print &out) const
 
void emitBody (Print &out) const
 
void emitValue (Print &out) const
 
void emitScript (Print &out) const
 
String getValue () const
 
void setValue (String val) const
 

Additional Inherited Members

- Protected Member Functions inherited from WElement
bool & verticalAlignment ()
 
- Protected Attributes inherited from WElement
String fID = ""
 
String fCSS = ""
 
String fBody = ""
 
String fScript = ""
 
WValuefValue = nullptr
 
WActionfAction = nullptr
 
bool fReload = false
 
const WDynamicfDynamic = nullptr
 
bool(* fEnabled )() = nullptr
 

Constructor & Destructor Documentation

◆ WDynamicElementInt()

WDynamicElementInt::WDynamicElementInt ( String  id,
const WDynamic dynamicRef,
int(*)()  getValue,
void(*)(int)  setValue 
)
inline

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