|
bipedal locomotion framework
A suite of libraries for achieving bipedal locomotion on humanoid robots
|
Parameters handler interface. More...
#include <ParametersHandler/include/BipedalLocomotion/ParametersHandler/IParametersHandler.h>
Public Types | |
| using | unique_ptr = std::unique_ptr< IParametersHandler > |
| using | shared_ptr = std::shared_ptr< IParametersHandler > |
| using | weak_ptr = std::weak_ptr< IParametersHandler > |
Public Member Functions | |
| virtual bool | getParameter (const std::string ¶meterName, int ¶meter) const =0 |
| Get a parameter [int]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, double ¶meter) const =0 |
| Get a parameter [double]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, std::string ¶meter) const =0 |
| Get a parameter [std::string]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, bool ¶meter) const =0 |
| Get a parameter [bool]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, std::chrono::nanoseconds ¶meter) const =0 |
| Get a parameter [int]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, std::vector< bool > ¶meter) const =0 |
| Get a parameter [std::vector<bool>]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, GenericContainer::Vector< int >::Ref parameter) const =0 |
| Get a parameter [GenericContainer::Vector<int>]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, GenericContainer::Vector< double >::Ref parameter) const =0 |
| Get a parameter [GenericContainer::Vector<double>]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, GenericContainer::Vector< std::string >::Ref parameter) const =0 |
| Get a parameter [GenericContainer::Vector<std::string>]. More... | |
| virtual bool | getParameter (const std::string ¶meterName, GenericContainer::Vector< std::chrono::nanoseconds >::Ref parameter) const =0 |
| Get a parameter [GenericContainer::Vector<std::chrono::nanoseconds>]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const int ¶meter)=0 |
| Set a parameter [int]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const double ¶meter)=0 |
| Set a parameter [double]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const std::string ¶meter)=0 |
| Set a parameter [std::string]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const char *parameter)=0 |
| Set a parameter [const char*]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const bool ¶meter)=0 |
| Set a parameter [bool]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const std::chrono::nanoseconds ¶meter)=0 |
| Set a parameter [std::chrono::nanoseconds]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const std::vector< bool > ¶meter)=0 |
| Set a parameter [std::vector<bool>]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const GenericContainer::Vector< const int >::Ref parameter)=0 |
| Set a parameter [GenericContainer::Vector<int>]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const GenericContainer::Vector< const double >::Ref parameter)=0 |
| Set a parameter [GenericContainer::Vector<double>]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const GenericContainer::Vector< const std::string >::Ref parameter)=0 |
| Set a parameter [GenericContainer::Vector<std::string>]. More... | |
| virtual void | setParameter (const std::string ¶meterName, const GenericContainer::Vector< const std::chrono::nanoseconds >::Ref parameter)=0 |
| Get a parameter [GenericContainer::Vector<std::chrono::nanoseconds>]. More... | |
| virtual weak_ptr | getGroup (const std::string &name) const =0 |
| Get a Group from the handler. More... | |
| virtual bool | setGroup (const std::string &name, shared_ptr newGroup)=0 |
| Set a new group on the handler. More... | |
| virtual std::string | toString () const =0 |
| Return a standard text representation of the content of the object. More... | |
| virtual bool | isEmpty () const =0 |
| Check if the handler contains parameters. More... | |
| virtual void | clear ()=0 |
| Clears the handler from all the parameters. More... | |
| virtual shared_ptr | clone () const =0 |
| Clone the content of the content. More... | |
| virtual | ~IParametersHandler ()=default |
| Destructor. | |
Parameters handler interface.
|
pure virtual |
Get a parameter [int].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [double].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [std::string].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [bool].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [int].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [std::vector<bool>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [GenericContainer::Vector<int>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [GenericContainer::Vector<double>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [GenericContainer::Vector<std::string>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [GenericContainer::Vector<std::chrono::nanoseconds>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [int].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [double].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [std::string].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [const char*].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [bool].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [std::chrono::nanoseconds].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [std::vector<bool>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [GenericContainer::Vector<int>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [GenericContainer::Vector<double>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a parameter [GenericContainer::Vector<std::string>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a parameter [GenericContainer::Vector<std::chrono::nanoseconds>].
| parameterName | name of the parameter |
| parameter | parameter |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Get a Group from the handler.
| name | name of the group |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Set a new group on the handler.
| name | name of the group |
| newGroup | shared pointer to the new group |
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Return a standard text representation of the content of the object.
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Check if the handler contains parameters.
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Clears the handler from all the parameters.
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.
|
pure virtual |
Clone the content of the content.
Implemented in BipedalLocomotion::ParametersHandler::YarpImplementation, BipedalLocomotion::ParametersHandler::TomlImplementation, and BipedalLocomotion::ParametersHandler::StdImplementation.