GCC Code Coverage Report


Directory: ./
File: src/dynamic_graph/sot/core/joint_limitator/python-module-py.cc
Date: 2024-11-13 12:35:17
Exec Total Coverage
Lines: 0 5 0.0%
Branches: 0 6 0.0%

Line Branch Exec Source
1 // Copyright (C) 2008-2014 LAAS-CNRS, JRL AIST-CNRS.
2 //
3 // This file is part of jrl-cmakemodules.
4 // jrl-mathtools is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // jrl-mathtools is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public License
14 // along with jrl-mathtools. If not, see <http://www.gnu.org/licenses/>.
15
16 #include "dynamic-graph/python/module.hh"
17
18 #include "/root/robotpkg/wip/py-sot-core-v3/work/sot-core-4.11.8/src/tools/joint-limitator-python.h"
19
20 struct register_entity
21 {
22 template<typename T> inline void operator()(boost::type<T>) const
23 {
24 dynamicgraph::python::exposeEntity<T>();
25 }
26 };
27
28 BOOST_PYTHON_MODULE(wrap)
29 {
30 bp::import("dynamic_graph");
31 boost::mpl::for_each<entities_t, boost::type<boost::mpl::_> >(register_entity());
32 }
33