Open Lighting Architecture
0.10.4
|
The base variable class.
All other exported variables derive from this.
Public Member Functions | |
BaseVariable (const std::string &name) | |
Create a new BaseVariable. More... | |
virtual | ~BaseVariable () |
const std::string | Name () const |
Return the name of this variable. More... | |
virtual const std::string | Value () const =0 |
Return the value of the variable as a string. More... | |
|
inlineexplicit |
Create a new BaseVariable.
name | the variable name. |
|
inlinevirtual |
The Destructor.
|
inline |
Return the name of this variable.
|
pure virtual |
Return the value of the variable as a string.
Implemented in ola::MapVariable< Type >, ola::MapVariable< Type >, ola::MapVariable< int >, ola::MapVariable< unsigned int >, ola::CounterVariable, ola::IntegerVariable, ola::StringVariable, and ola::BoolVariable.