Open Lighting Architecture  Latest Git
Public Member Functions | Protected Member Functions | List of all members
ola::web::GenericItem Class Referenceabstract

Detailed Description

This is the base item class. Items are composed into sections. Each item has the following:

Inheritance diagram for ola::web::GenericItem:
Inheritance graph
[legend]

Public Member Functions

 GenericItem (const std::string &description, const std::string &id)
 
void SetButtonText (const std::string &text)
 
void PopulateItem (JsonObject *item) const
 

Protected Member Functions

virtual std::string Type () const =0
 
virtual void SetValue (JsonObject *item) const =0
 
virtual void SetExtraProperties (JsonObject *item) const
 

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