Open Lighting Architecture
|
The base variable class.
All other exported variables derive from this.
Public Member Functions | |
BaseVariable (const string &name) | |
Create a new BaseVariable. | |
virtual | ~BaseVariable () |
const string | Name () const |
Return the name of this variable. | |
virtual const string | Value () const =0 |
Return the value of the variable as a string. |
|
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< int >, ola::MapVariable< unsigned int >, ola::CounterVariable, ola::IntegerVariable, ola::StringVariable, ola::BoolVariable, and ola::MapVariable< Type >.