21 #include "execution_time_estimator.h"
23 #include <core/exception.h>
24 #include <core/exceptions/software.h>
41 std::shared_ptr<ExecutionTimeEstimator>
44 for (
const auto &pair : execution_time_estimators_) {
45 const auto &provider = pair.second;
46 if (provider->can_execute(skill_string)) {
61 execution_time_estimators_.insert(std::make_pair(priority, provider));
71 std::erase_if(execution_time_estimators_, [&](
auto &pair) {
return provider == pair.second; });
73 for (
auto it = execution_time_estimators_.begin(); it != execution_time_estimators_.end();) {
74 if (it->second == provider) {
75 it = execution_time_estimators_.erase(it);
94 : execution_time_estimator_manager_(nullptr)
96 add_aspect(
"SkillExecutionTimeEstimatorAspect");