6 #ifndef DYNAMIC_GRAPH_POOL_H 7 #define DYNAMIC_GRAPH_POOL_H 12 #include <dynamic-graph/dynamic-graph-api.h> 13 #include <dynamic-graph/exception-factory.h> 14 #include <dynamic-graph/fwd.hh> 15 #include <dynamic-graph/signal-base.h> 39 typedef std::map<std::string, Entity *>
Entities;
45 static void destroy();
59 void registerEntity(
const std::string &entname,
Entity *ent);
64 void deregisterEntity(
const std::string &entname);
69 void deregisterEntity(
const Entities::iterator &entity);
74 Entity &getEntity(
const std::string &name);
77 const Entities &getEntityMap()
const;
80 bool existEntity(
const std::string &name);
82 bool existEntity(
const std::string &name,
Entity *&ptr);
87 void clearPlugin(
const std::string &name);
98 void writeGraph(
const std::string &aFileName);
99 void writeCompletionList(std::ostream &os);
Singleton that keeps track of all the entities.
This class represents an entity, i.e. a generic computational unit that provides input and output sig...
Entities entityMap
Set of basic objects of the SoT.
std::map< std::string, Entity * > Entities
Sorted set of entities with unique key (name).
static PoolStorage * getInstance()
Get unique instance of the class.