hpp-core
4.15.1
Implement basic classes for canonical path planning for kinematic chains.
|
Go to the documentation of this file.
31 #ifndef HPP_CORE_PARAMETER_HH
32 #define HPP_CORE_PARAMETER_HH
84 explicit Parameter(
const std::string& value);
109 static std::string typeName(Type type);
117 bool boolValue()
const;
120 std::string stringValue()
const;
131 std::string doc =
"",
133 : name_(name), doc_(doc), type_(type), defaultValue_(defaultValue) {}
137 const std::string&
name()
const {
return name_; }
139 const std::string&
doc()
const {
return doc_; }
151 #endif // HPP_CORE_PARAMETER_HH
pinocchio::size_type size_type
Definition: fwd.hh:173
@ BOOL
Definition: parameter.hh:67
pinocchio::vector_t vector_t
Definition: fwd.hh:220
Definition: parameter.hh:63
std::ostream & operator<<(std::ostream &os, const Constraint &constraint)
Definition: constraint.hh:99
Type
Definition: parameter.hh:65
const Parameter::Type & type() const
Definition: parameter.hh:138
const std::string & name() const
Definition: parameter.hh:137
Definition: bi-rrt-planner.hh:35
const void *const value_
Definition: parameter.hh:125
@ MATRIX
as matrix_t
Definition: parameter.hh:76
ParameterDescription(Parameter::Type type, std::string name, std::string doc="", Parameter defaultValue=Parameter())
Definition: parameter.hh:130
const std::string & doc() const
Definition: parameter.hh:139
ParameterDescription()
Definition: parameter.hh:135
pinocchio::matrix_t matrix_t
Definition: fwd.hh:162
@ VECTOR
as vector_t
Definition: parameter.hh:74
@ FLOAT
as value_type
Definition: parameter.hh:71
Type type_
Definition: parameter.hh:123
@ NONE
Definition: parameter.hh:66
@ STRING
Definition: parameter.hh:72
Definition: parameter.hh:128
@ INT
as size_type
Definition: parameter.hh:69
pinocchio::value_type value_type
Definition: fwd.hh:174
#define HPP_CORE_DLLAPI
Definition: config.hh:64