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