Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
ola::IntegerVariable Class Reference
Inheritance diagram for ola::IntegerVariable:
Inheritance graph
[legend]
Collaboration diagram for ola::IntegerVariable:
Collaboration graph
[legend]

Public Member Functions

 IntegerVariable (const std::string &name)
 
void Set (int value)
 
void operator++ (int)
 
void operator-- (int)
 
void Reset ()
 
int Get () const
 
const std::string Value () const
 Return the value of the variable as a string. More...
 
- Public Member Functions inherited from ola::BaseVariable
 BaseVariable (const std::string &name)
 Create a new BaseVariable. More...
 
virtual ~BaseVariable ()
 
const std::string Name () const
 Return the name of this variable. More...
 

Member Function Documentation

◆ Value()

const std::string ola::IntegerVariable::Value ( ) const
inlinevirtual

Return the value of the variable as a string.

Returns
the value of the variable.

Implements ola::BaseVariable.


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