|
|
lucid
0.0.1
Lifting-based Uncertain Control Invariant Dynamics
|
Parameter value used in a configurable system or application. More...
#include <ParameterValue.h>
Public Member Functions | |
| ParameterValue (const Parameter parameter, double value) | |
Construct a new ParameterValue object for the given parameter associated with the given value. | |
| ParameterValue (const Parameter parameter, int value) | |
Construct a new ParameterValue object for the given parameter associated with the given value. | |
| ParameterValue (const Parameter parameter, Vector value) | |
Construct a new ParameterValue object for the given parameter associated with the given value. | |
| Parameter | parameter () const |
| Get read-only access to the parameter of the parameter value. | |
| const ParameterValueType & | value () const |
| Get read-only access to the value of the parameter value. | |
| template<IsAnyOf< int, double, Vector > T> | |
| const T & | get () const |
| Get the value of this parameter. | |
| bool | operator== (const ParameterValue &o) const |
| Compare two parameter value objects to determine if they are equal. | |
Private Attributes | |
| Parameter | parameter_ |
| Parameter associated with the value. | |
| ParameterValueType | value_ |
| Value assigned to the parameter. | |
Parameter value used in a configurable system or application.
It associates to the same parameter a single value. The value can be of different types, i.e., int, double, and eigen Vectors.
|
inline |
Construct a new ParameterValue object for the given parameter associated with the given value.
| parameter | parameter to set |
| value | value assigned to the parameter |
|
inline |
Construct a new ParameterValue object for the given parameter associated with the given value.
| parameter | parameter to set |
| value | value assigned to the parameter |
|
inline |
Construct a new ParameterValue object for the given parameter associated with the given value.
| parameter | parameter to set |
| value | value assigned to the parameter |
|
inlinenodiscard |
Get the value of this parameter.
| T | type of the value to retrieve |
|
nodiscard |
Compare two parameter value objects to determine if they are equal.
| o | other object to compare against |
|
inlinenodiscard |
Get read-only access to the parameter of the parameter value.
|
inlinenodiscard |
Get read-only access to the value of the parameter value.