Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
c
d
e
f
g
h
m
o
p
r
s
t
u
w
Variables
Typedefs
Classes
Class List
Class Hierarchy
Class Members
All
_
c
d
f
g
i
m
p
r
s
t
~
Functions
_
c
d
g
i
p
r
s
t
~
Variables
Typedefs
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
Macros
src
dynamic_graph
factory-py.cc
Go to the documentation of this file.
1
// Copyright 2010, Florent Lamiraux, Thomas Moulard, LAAS-CNRS.
2
3
#include <dynamic-graph/factory.h>
4
5
#include <iostream>
6
7
#include "
dynamic-graph/python/dynamic-graph-py.hh
"
8
9
using
dynamicgraph::Entity
;
10
using
dynamicgraph::ExceptionAbstract
;
11
12
namespace
dynamicgraph
{
13
namespace
python
{
14
15
namespace
factory {
16
20
bp::tuple
getEntityClassList
() {
21
std::vector<std::string> classNames;
22
dynamicgraph::FactoryStorage::getInstance
()->
listEntities
(classNames);
23
return
to_py_tuple
(classNames.begin(), classNames.end());
24
}
25
26
}
// namespace factory
27
}
// namespace python
28
}
// namespace dynamicgraph
dynamicgraph::python::to_py_tuple
bp::tuple to_py_tuple(Iterator begin, Iterator end)
Definition:
dynamic-graph-py.hh:29
dynamicgraph
dynamicgraph::Entity
dynamic-graph-py.hh
python
dynamicgraph::ExceptionAbstract
dynamicgraph::FactoryStorage::listEntities
void listEntities(std::vector< std::string > &list) const
dynamicgraph::python::factory::getEntityClassList
bp::tuple getEntityClassList()
Get name of entity.
Definition:
factory-py.cc:20
dynamicgraph::FactoryStorage::getInstance
static FactoryStorage * getInstance()
dynamic-graph-python
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Oct 27 2023 02:16:36