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

Public Member Functions

 CounterVariable (const std::string &name)
 
void operator++ (int)
 
void operator+= (unsigned int value)
 
void Reset ()
 
unsigned 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::CounterVariable::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: