|
Cheetah Software
1.0
|
#include <ControlParameters.h>
Inheritance diagram for ControlParameters:
Collaboration diagram for ControlParameters:Public Member Functions | |
| ControlParameters (const std::string &name) | |
| bool | isFullyInitialized () |
| void | initializeDouble (const std::string &name, double d) |
| void | initializeFloat (const std::string &name, float f) |
| void | initializeInteger (const std::string &name, s64 i) |
| void | initializeVec3f (const std::string &name, Vec3< float > &v) |
| void | initializeVec3d (const std::string &name, Vec3< double > &v) |
| void | lockMutex () |
| void | unlockMutex () |
| void | writeToIniFile (const std::string &path) |
| void | initializeFromIniFile (const std::string &path) |
| void | initializeFromYamlFile (const std::string &path) |
| void | defineAndInitializeFromYamlFile (const std::string &path) |
| void | writeToYamlFile (const std::string &path) |
| std::string | generateUnitializedList () |
Public Attributes | |
| ControlParameterCollection | collection |
Protected Attributes | |
| std::string | _name |
| std::mutex | _mutex |
Parent class for groups of parameters RobotParameters and SimulatorParameters inherit from this class
Definition at line 391 of file ControlParameters.h.
|
inline |
Each control parameter group must have a unique name so the ini files don't mixed up
| name |
Definition at line 398 of file ControlParameters.h.
| void ControlParameters::defineAndInitializeFromYamlFile | ( | const std::string & | path | ) |
Definition at line 280 of file ControlParameters.cpp.
References ControlParameter::_kind, ControlParameterCollection::_name, DOUBLE, f(), FLOAT, ControlParameter::initializeDouble(), ControlParameter::initializeFloat(), ControlParameter::initializeInteger(), ControlParameter::initializeVec3d(), ControlParameter::initializeVec3f(), S64, VEC3_DOUBLE, VEC3_FLOAT, and YAML_COLLECTION_NAME_KEY.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string ControlParameters::generateUnitializedList | ( | ) |
Definition at line 89 of file ControlParameters.cpp.
Here is the caller graph for this function:
|
inline |
Directly initialize a given control parameter
Definition at line 408 of file ControlParameters.h.
Here is the caller graph for this function:
|
inline |
Definition at line 412 of file ControlParameters.h.
Here is the caller graph for this function:| void ControlParameters::initializeFromIniFile | ( | const std::string & | path | ) |
Definition at line 204 of file ControlParameters.cpp.
References ControlParameter::_kind, ControlParameterCollection::_name, DOUBLE, FLOAT, ControlParameter::initializeDouble(), ControlParameter::initializeFloat(), ControlParameter::initializeInteger(), and S64.
Here is the call graph for this function:
Here is the caller graph for this function:| void ControlParameters::initializeFromYamlFile | ( | const std::string & | path | ) |
Definition at line 365 of file ControlParameters.cpp.
References ControlParameter::_kind, ControlParameterCollection::_name, DOUBLE, f(), FLOAT, ControlParameter::initializeDouble(), ControlParameter::initializeFloat(), ControlParameter::initializeInteger(), ControlParameter::initializeVec3d(), ControlParameter::initializeVec3f(), S64, VEC3_DOUBLE, VEC3_FLOAT, and YAML_COLLECTION_NAME_KEY.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 416 of file ControlParameters.h.
Here is the caller graph for this function:
|
inline |
Definition at line 424 of file ControlParameters.h.
Here is the caller graph for this function:
|
inline |
Definition at line 420 of file ControlParameters.h.
Here is the caller graph for this function:
|
inline |
If true, all parameters have been initialized in one way or another
Definition at line 403 of file ControlParameters.h.
Here is the caller graph for this function:
|
inline |
|
inline |
| void ControlParameters::writeToIniFile | ( | const std::string & | path | ) |
Definition at line 196 of file ControlParameters.cpp.
References writeStringToFile().
Here is the call graph for this function:
Here is the caller graph for this function:| void ControlParameters::writeToYamlFile | ( | const std::string & | path | ) |
Definition at line 200 of file ControlParameters.cpp.
References writeStringToFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 445 of file ControlParameters.h.
|
protected |
Definition at line 444 of file ControlParameters.h.
| ControlParameterCollection ControlParameters::collection |
Definition at line 441 of file ControlParameters.h.