Open Lighting Architecture
0.9.3
|
A container for the exported variables.
Public Member Functions | |
BoolVariable * | GetBoolVar (const std::string &name) |
Lookup or create a BoolVariable. | |
IntegerVariable * | GetIntegerVar (const std::string &name) |
Lookup or create an IntegerVariable. | |
CounterVariable * | GetCounterVar (const std::string &name) |
Lookup or create a CounterVariable. | |
StringVariable * | GetStringVar (const std::string &name) |
Lookup or create a StringVariable. | |
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. |
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.