humoto
|
Configurable base class.
#include <config.h>
Public Member Functions | |
template<class t_Reader > | |
void | readConfig (t_Reader &reader, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readConfig (t_Reader &reader, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readConfig (const std::string &file_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readConfig (const std::string &file_name, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readConfig (const std::string &file_name, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
template<class t_Reader > | |
void | readNestedConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read nested configuration node. More... | |
template<class t_Writer > | |
void | writeConfig (t_Writer &writer) const |
Write configuration. More... | |
template<class t_Writer > | |
void | writeConfig (t_Writer &writer, const std::string &node_name) const |
Write configuration. More... | |
template<class t_Writer > | |
void | writeConfig (const std::string &file_name) const |
Write configuration. More... | |
template<class t_Writer > | |
void | writeConfig (const std::string &file_name, const std::string &node_name) const |
Write configuration. More... | |
template<class t_Writer > | |
void | writeNestedConfig (t_Writer &writer) const |
Write nested configuration node. More... | |
template<class t_Writer > | |
void | writeNestedConfig (t_Writer &writer, const std::string &node_name) const |
Write nested configuration node. More... | |
Protected Member Functions | |
CommonConfigurableBase () | |
~CommonConfigurableBase () | |
Protected destructor: prevent destruction of the child classes through a base pointer. More... | |
virtual void | finalize () |
This function is called automaticaly after reading a configuration file. Does nothing by default. More... | |
virtual const std::string & | getConfigSectionID () const =0 |
Return the default name of a configuration node corresponding to this class. More... | |
virtual std::size_t | getNumberOfEntries () const =0 |
Get number of entries in the corresponding configuration node. More... | |
virtual void | setDefaults ()=0 |
Set members to their default values. More... | |
Static Protected Attributes | |
static const bool | default_crash_on_missing_entry_ = t_crash_on_missing_entry |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
This function is called automaticaly after reading a configuration file. Does nothing by default.
Reimplemented in humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_mpc::MPCParameters, humoto::pepper_mpc::MotionParameters, humoto::walking::RobotFootParameters, humoto::wpg04::MPCParameters, humoto::pepper_mpc::RobotParameters, humoto::pepper_ik::WBCParameters, humoto::pepper_ik::GeneralizedCoordinates< t_features >, humoto::wpg04::TaskCoPPosition, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskCoPVelocity, and humoto::wpg04::TaskTerminalConstraint.
|
protectedpure virtual |
Return the default name of a configuration node corresponding to this class.
Implemented in humoto::TaskBase.
|
protectedpure virtual |
Get number of entries in the corresponding configuration node.
Implemented in humoto::ConfigurableOptimizationProblem.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
Set members to their default values.
Implemented in humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_mpc::MPCParameters, humoto::rigidbody::RotaryState, humoto::walking::RobotFootParameters, humoto::pepper_mpc::MotionParameters, humoto::Solution, humoto::wpg04::MPCParameters, humoto::walking::StanceFSMParameters, humoto::TaskBase, humoto::rigidbody::RigidBodyState, humoto::wpg04::ModelState, humoto::pepper_mpc::RobotParameters, humoto::pepper_ik::MotionParameters, humoto::qpoases::SolverParameters, humoto::qpoases::SolverParameters::QPoasesParameters, humoto::ConfigurableOptimizationProblem, humoto::kktsolver::SolverParameters, humoto::pepper_mpc::ModelState, humoto::wpg04::WalkParameters, humoto::qpmad::SolverParameters, humoto::rigidbody::PointMassState, humoto::qpmad::SolverParameters::QPmadParameters, humoto::pepper_ik::WBCParameters, humoto::pepper_ik::TaskBaseCoMTrackingBase, humoto::pepper_ik::TaskBaseOrientationBase, humoto::pepper_ik::TaskTagOrientation< t_features >, humoto::pepper_ik::TaskTagPose3Dof< t_features >, humoto::pepper_ik::TaskTagAngularVelocity< t_features >, humoto::pepper_ik::TaskTagCompleteVelocity< t_features >, humoto::pepper_ik::TaskTagPose< t_features >, humoto::pepper_ik::GeneralizedCoordinates< t_features >, humoto::pepper_ik::TaskBodyCoMTracking< t_features >, humoto::pepper_ik::TaskJointsReference< t_features >, humoto::wpg04::TaskFootstepBounds, humoto::quadprogpp::SolverParameters, humoto::rigidbody::RigidBodyPose, humoto::SolverParametersBase, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskCoPBounds, humoto::wpg04::TaskCoPPosition, humoto::wpg04::TaskCoPVelocity, and humoto::wpg04::TaskTerminalConstraint.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
staticprotected |