libvisiontransfer
10.8.0
|
Definition at line 42 of file parameterinfo.h.
Classes | |
union | ParameterValue |
class | Pimpl |
Public Types | |
enum | ParameterType { TYPE_INT = 1, TYPE_DOUBLE = 2, TYPE_BOOL = 3 } |
Public Member Functions | |
std::string | getName () const |
Returns the string representation of the parameter name. More... | |
ParameterType | getType () const |
Returns the type of the parameter. More... | |
bool | isWriteable () const |
Returns whether the parameter is writeable (or read-only) More... | |
template<typename T > | |
T | getValue () const |
Returns the current parameter value, cast to the desired type (int, double or bool) More... | |
template<typename T > | |
T | getMin () const |
Returns the minimum parameter value, cast to the desired type (int, double or bool) More... | |
template<typename T > | |
T | getMax () const |
Returns the maximum parameter value, cast to the desired type (int, double or bool) More... | |
template<typename T > | |
T | getInc () const |
Returns the increment of the parameter (i.e. increment for raising / lowering the value), cast to the desired type (int, double or bool) More... | |
T visiontransfer::ParameterInfo::getInc | ( | ) | const |
Returns the increment of the parameter (i.e. increment for raising / lowering the value), cast to the desired type (int, double or bool)
T visiontransfer::ParameterInfo::getMax | ( | ) | const |
Returns the maximum parameter value, cast to the desired type (int, double or bool)
T visiontransfer::ParameterInfo::getMin | ( | ) | const |
Returns the minimum parameter value, cast to the desired type (int, double or bool)
std::string visiontransfer::ParameterInfo::getName | ( | ) | const |
Returns the string representation of the parameter name.
Definition at line 160 of file parameterinfo.cpp.
ParameterInfo::ParameterType visiontransfer::ParameterInfo::getType | ( | ) | const |
Returns the type of the parameter.
Definition at line 161 of file parameterinfo.cpp.
T visiontransfer::ParameterInfo::getValue | ( | ) | const |
Returns the current parameter value, cast to the desired type (int, double or bool)
bool visiontransfer::ParameterInfo::isWriteable | ( | ) | const |
Returns whether the parameter is writeable (or read-only)
Definition at line 162 of file parameterinfo.cpp.