Open Lighting Architecture
|
A container for the exported variables.
Public Member Functions | |
BoolVariable * | GetBoolVar (const string &name) |
Lookup or create a BoolVariable. | |
IntegerVariable * | GetIntegerVar (const string &name) |
Lookup or create an IntegerVariable. | |
CounterVariable * | GetCounterVar (const string &name) |
Lookup or create a CounterVariable. | |
StringVariable * | GetStringVar (const string &name) |
Lookup or create a StringVariable. | |
StringMap * | GetStringMapVar (const string &name, const string &label="") |
IntMap * | GetIntMapVar (const string &name, const string &label="") |
UIntMap * | GetUIntMapVar (const string &name, const string &label="") |
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 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 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 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 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.