python-module.cc
Go to the documentation of this file.
5 #include <sot/tools/seqplay.hh>
7 
9 
10 namespace dgst = dynamicgraph::sot::tools;
11 
12 typedef boost::mpl::vector<dgst::CubicInterpolation,
16 
18  template <typename T>
19  inline void operator()(boost::type<T>) const {
20  dynamicgraph::python::exposeEntity<T>();
21  }
22 };
23 
25  bp::import("dynamic_graph");
26  boost::mpl::for_each<entities_t, boost::type<boost::mpl::_> >(
27  register_entity());
28 
29  using dgst::SimpleSeqPlay;
30  dynamicgraph::python::exposeEntity<SimpleSeqPlay>()
31  .def("waiting", &SimpleSeqPlay::waiting)
32  .def("initializing", &SimpleSeqPlay::initializing)
33  .def("executing", &SimpleSeqPlay::executing)
34  .def("finished", &SimpleSeqPlay::finished);
35 }
oscillator.hh
dynamicgraph::sot::tools::CubicInterpolation
Definition: cubic-interpolation.hh:18
BOOST_PYTHON_MODULE
BOOST_PYTHON_MODULE(wrap)
Definition: python-module.cc:24
module.hh
dynamicgraph::sot::tools::Oscillator
Definition: oscillator.hh:25
dynamicgraph::sot::tools::SimpleSeqPlay
Definition: simpleseqplay.hh:28
dynamicgraph::sot::tools::Seqplay
Definition: seqplay.hh:28
register_entity
Definition: python-module.cc:17
simpleseqplay.hh
register_entity::operator()
void operator()(boost::type< T >) const
Definition: python-module.cc:19
seqplay.hh
wrap
dynamicgraph::sot::tools::CubicInterpolationSE3
Definition: cubic-interpolation-se3.hh:19
dynamicgraph::sot::tools
Definition: cubic-interpolation-se3.hh:18
cubic-interpolation.hh
kinematic-planner.hh
cubic-interpolation-se3.hh
entities_t
boost::mpl::vector< dgst::CubicInterpolation, dgst::CubicInterpolationSE3, dgst::Oscillator, dgst::Seqplay > entities_t
Definition: python-module.cc:15


sot-tools
Author(s): Mehdi Benallegue, Francois Keith, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Jorrit T'Hooft
autogenerated on Wed Aug 2 2023 02:35:13