pool-py.cc
Go to the documentation of this file.
1 // Copyright 2011, 2012, Florent Lamiraux, LAAS-CNRS.
2 
3 #include <dynamic-graph/entity.h>
4 #include <dynamic-graph/pool.h>
5 
6 #include <vector>
7 
9 
10 namespace dynamicgraph {
11 namespace python {
12 
13 namespace pool {
14 
15 void writeGraph(const char* filename) {
17 }
18 
19 const std::map<std::string, Entity*>* getEntityMap() {
21 }
22 
26 bp::list getEntityList() {
27  std::vector<std::string> entityNames;
28  bp::list res;
29  const PoolStorage::Entities& listOfEntities =
31 
32  for (const auto& el : listOfEntities) res.append(el.second->getName());
33  return res;
34 }
35 
36 } // namespace pool
37 } // namespace python
38 } // namespace dynamicgraph
void writeGraph(const std::string &aFileName)
const std::map< std::string, Entity * > * getEntityMap()
Definition: pool-py.cc:19
static PoolStorage * getInstance()
res
std::map< std::string, Entity *> Entities
const Entities & getEntityMap() const
void writeGraph(const char *filename)
Definition: pool-py.cc:15
bp::list getEntityList()
Get list of entities.
Definition: pool-py.cc:26


dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:55:50