|
Cheetah Software
1.0
|
#include <ControlParameters.h>
Collaboration diagram for ControlParameter:Public Member Functions | |
| ControlParameter (const std::string &name, double &value, ControlParameterCollection &collection, const std::string &units="") | |
| ControlParameter (const std::string &name, float &value, ControlParameterCollection &collection, const std::string &units="") | |
| ControlParameter (const std::string &name, s64 &value, ControlParameterCollection &collection, const std::string &units="") | |
| ControlParameter (const std::string &name, Vec3< float > &value, ControlParameterCollection &collection, const std::string &units="") | |
| ControlParameter (const std::string &name, Vec3< double > &value, ControlParameterCollection &collection, const std::string &units="") | |
| ControlParameter (const std::string &name, ControlParameterValueKind kind) | |
| void | truncateName () |
| void | initializeDouble (double d) |
| void | initializeFloat (float f) |
| void | initializeInteger (s64 i) |
| void | initializeVec3f (const Vec3< float > &v) |
| void | initializeVec3d (const Vec3< double > &v) |
| void | set (ControlParameterValue value, ControlParameterValueKind kind) |
| ControlParameterValue | get (ControlParameterValueKind kind) |
| std::string | toString () |
| bool | setFromString (const std::string &value) |
Public Attributes | |
| bool | _set = false |
| ControlParameterValuePtr | _value |
| std::string | _name |
| std::string | _units |
| ControlParameterValueKind | _kind |
| ControlParameterValue | _staticValue |
Definition at line 120 of file ControlParameters.h.
|
inline |
Constructors for control parameters: Set the type and add to collection. Doesn't "initialize" the parameter - this must be done separately.
Definition at line 127 of file ControlParameters.h.
References ControlParameterCollection::addParameter(), and DOUBLE.
Here is the call graph for this function:
|
inline |
Definition at line 138 of file ControlParameters.h.
References ControlParameterCollection::addParameter(), and FLOAT.
Here is the call graph for this function:
|
inline |
Definition at line 149 of file ControlParameters.h.
References ControlParameterCollection::addParameter(), and S64.
Here is the call graph for this function:
|
inline |
Definition at line 160 of file ControlParameters.h.
References ControlParameterCollection::addParameter(), and VEC3_FLOAT.
Here is the call graph for this function:
|
inline |
Definition at line 171 of file ControlParameters.h.
References ControlParameterCollection::addParameter(), and VEC3_DOUBLE.
Here is the call graph for this function:
|
inline |
Definition at line 182 of file ControlParameters.h.
|
inline |
Definition at line 282 of file ControlParameters.h.
References ControlParameterValue::d, DOUBLE, ControlParameterValue::f, FLOAT, ControlParameterValue::i, S64, VEC3_DOUBLE, VEC3_FLOAT, ControlParameterValue::vec3d, and ControlParameterValue::vec3f.
Here is the caller graph for this function:
|
inline |
Set initial value of the control parameter. Checks to see that the types are correct
Definition at line 201 of file ControlParameters.h.
References DOUBLE.
Here is the caller graph for this function:
|
inline |
Definition at line 212 of file ControlParameters.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 221 of file ControlParameters.h.
References S64.
Here is the caller graph for this function:
|
inline |
Definition at line 241 of file ControlParameters.h.
References VEC3_DOUBLE.
Here is the caller graph for this function:
|
inline |
Definition at line 230 of file ControlParameters.h.
References VEC3_FLOAT.
Here is the caller graph for this function:
|
inline |
Definition at line 252 of file ControlParameters.h.
References DOUBLE, FLOAT, S64, VEC3_DOUBLE, and VEC3_FLOAT.
Here is the caller graph for this function:
|
inline |
Definition at line 348 of file ControlParameters.h.
References DOUBLE, FLOAT, S64, VEC3_DOUBLE, and VEC3_FLOAT.
|
inline |
Convert the value to a string that works in a YAML file
Definition at line 316 of file ControlParameters.h.
References DOUBLE, FLOAT, numberToString(), S64, VEC3_DOUBLE, and VEC3_FLOAT.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 189 of file ControlParameters.h.
References CONTROL_PARAMETER_MAXIMUM_NAME_LENGTH.
| ControlParameterValueKind ControlParameter::_kind |
Definition at line 381 of file ControlParameters.h.
| std::string ControlParameter::_name |
Definition at line 379 of file ControlParameters.h.
| bool ControlParameter::_set = false |
Definition at line 377 of file ControlParameters.h.
| ControlParameterValue ControlParameter::_staticValue |
Definition at line 382 of file ControlParameters.h.
| std::string ControlParameter::_units |
Definition at line 380 of file ControlParameters.h.
| ControlParameterValuePtr ControlParameter::_value |
Definition at line 378 of file ControlParameters.h.