static wbt::base::WholeBodySingleton & sharedInstance()
Definition: WholeBodySingleton.cpp:65
std::unordered_map< std::string, std::weak_ptr< wbt::base::RobotInterface > > m_interfaces
Definition: WholeBodySingleton.h:50
const std::shared_ptr< iDynTree::KinDynComputations > getKinDynComputations(const std::string &confKey) const
Definition: WholeBodySingleton.cpp:87
int numberOfDoFs(const std::string &confKey) const
Definition: WholeBodySingleton.cpp:37
Definition: WholeBodySingleton.h:44
std::shared_ptr< RobotInterface > createRobotInterface(const Configuration &config)
Definition: WholeBodySingleton.cpp:100
const Configuration & getConfiguration(const std::string &confKey) const
Definition: WholeBodySingleton.cpp:71
bool isKeyValid(const std::string &confKey) const
Definition: WholeBodySingleton.cpp:46
WholeBodySingleton & operator=(const WholeBodySingleton &)=delete
std::shared_ptr< RobotInterface > storeConfiguration(const blockfactory::core::Parameters ¶meters)
Definition: WholeBodySingleton.cpp:187
const std::shared_ptr< RobotInterface > getRobotInterface(const std::string &confKey) const
Definition: WholeBodySingleton.cpp:77
void eraseConfiguration(const std::string &confKey)
Definition: WholeBodySingleton.cpp:215