wrap.cc 262 Bytes
Newer Older
Joseph Mirabel's avatar
Joseph Mirabel committed
1
2
#include <dynamic-graph/tracer.h>

Guilhem Saurel's avatar
Guilhem Saurel committed
3
4
#include "dynamic-graph/python/module.hh"

Guilhem Saurel's avatar
Format    
Guilhem Saurel committed
5
BOOST_PYTHON_MODULE(wrap) {
Joseph Mirabel's avatar
Joseph Mirabel committed
6
7
8
  using dynamicgraph::Tracer;

  bp::import("dynamic_graph");
Guilhem Saurel's avatar
Format    
Guilhem Saurel committed
9
  dynamicgraph::python::exposeEntity<Tracer>().def("addSignal", &Tracer::addSignalToTrace);
Joseph Mirabel's avatar
Joseph Mirabel committed
10
}