23 #include <aspect/aspect.h>
24 #include <execution_time_estimator/execution_time_estimator.h>
34 std::shared_ptr<ExecutionTimeEstimator>
get_provider(
const std::string &skill_string)
const;
35 void register_provider(std::shared_ptr<ExecutionTimeEstimator> provider,
int priority = 0);
39 std::multimap<int, std::shared_ptr<ExecutionTimeEstimator>, std::greater<int>>
40 execution_time_estimators_;
Fawkes aspect base class.
A manager for execution time providers.
std::shared_ptr< ExecutionTimeEstimator > get_provider(const std::string &skill_string) const
Get the execution time provider for the given skill string.
void register_provider(std::shared_ptr< ExecutionTimeEstimator > provider, int priority=0)
Add an execution time provider.
void unregister_provider(std::shared_ptr< ExecutionTimeEstimator > provider)
Remove an execution time estimate provider.
An aspect to give access to the execution time estimator manager.
ExecutionTimeEstimatorManager * execution_time_estimator_manager_
The ExecutionTimeEstimatorManager that is used to manage the estimators.
void finalize_ExecutionTimeEstimatorsAspect()
Finalize the aspect.
ExecutionTimeEstimatorsAspect()
Constructor.
void init_ExecutionTimeEstimatorsAspect(ExecutionTimeEstimatorManager *provider_manager)
Initialize the aspect with a provider manager.
Fawkes library namespace.