Open Lighting Architecture
Latest Git
|
A container for the exported variables.
Public Member Functions | |
BoolVariable * | GetBoolVar (const std::string &name) |
Lookup or create a BoolVariable. More... | |
IntegerVariable * | GetIntegerVar (const std::string &name) |
Lookup or create an IntegerVariable. More... | |
CounterVariable * | GetCounterVar (const std::string &name) |
Lookup or create a CounterVariable. More... | |
StringVariable * | GetStringVar (const std::string &name) |
Lookup or create a StringVariable. More... | |
StringMap * | GetStringMapVar (const std::string &name, const std::string &label="") |
IntMap * | GetIntMapVar (const std::string &name, const std::string &label="") |
UIntMap * | GetUIntMapVar (const std::string &name, const std::string &label="") |
std::vector< BaseVariable * > | AllVariables () const |
Fetch a list of all known variables. More... | |
vector< BaseVariable * > ola::ExportMap::AllVariables | ( | ) | const |
Fetch a list of all known variables.
BoolVariable * ola::ExportMap::GetBoolVar | ( | const std::string & | name | ) |
Lookup or create a BoolVariable.
name | the name of this variable. |
The variable is created if it doesn't already exist. The pointer is valid for the lifetime of the ExportMap.
CounterVariable * ola::ExportMap::GetCounterVar | ( | const std::string & | name | ) |
Lookup or create a CounterVariable.
name | the name of this variable. |
The variable is created if it doesn't already exist. The pointer is valid for the lifetime of the ExportMap.
IntegerVariable * ola::ExportMap::GetIntegerVar | ( | const std::string & | name | ) |
Lookup or create an IntegerVariable.
name | the name of this variable. |
The variable is created if it doesn't already exist. The pointer is valid for the lifetime of the ExportMap.
StringVariable * ola::ExportMap::GetStringVar | ( | const std::string & | name | ) |
Lookup or create a StringVariable.
name | the name of this variable. |
The variable is created if it doesn't already exist. The pointer is valid for the lifetime of the ExportMap.