6 #ifndef DYNAMIC_GRAPH_POOL_H 7 #define DYNAMIC_GRAPH_POOL_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);
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...
static PoolStorage * instance_
static PoolStorage * getInstance()
Get unique instance of the class.
std::map< std::string, Entity * > Entities
Sorted set of entities with unique key (name).
Entities entityMap
Set of basic objects of the SoT.