sot-core
4.11.8
Hierarchical task solver plug-in for dynamic-graph.
|
Go to the documentation of this file.
10 #ifndef __SOT_POOL_HH__
11 #define __SOT_POOL_HH__
23 #include <dynamic-graph/pool.h>
24 #include <dynamic-graph/signal-base.h>
38 class FeatureAbstract;
69 typedef std::map<std::string, TaskAbstract *>
Tasks;
72 typedef std::map<std::string, FeatureAbstract *>
Features;
96 static void destroy();
102 void registerFeature(
const std::string &entname,
FeatureAbstract *ent);
112 void registerTask(
const std::string &entname,
TaskAbstract *ent);
119 void writeGraph(
const std::string &aFileName);
120 void writeCompletionList(std::ostream &os);
This singleton class keep tracks of all features and tasks.
Definition: pool.hh:63
Features feature
Set of features.
Definition: pool.hh:85
#define SOT_CORE_EXPORT
Definition: api.hh:20
std::map< std::string, TaskAbstract * > Tasks
Sorted set of tasks with unique key (name).
Definition: pool.hh:69
Definition: abstract-sot-external-interface.hh:17
Definition: task-abstract.hh:51
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
std::map< std::string, FeatureAbstract * > Features
Sorted set of features with unique key (name).
Definition: pool.hh:72
Tasks task
Set of controllers.
Definition: pool.hh:82