5 #ifndef __pinocchio_python_utils_model_checker_hpp__
6 #define __pinocchio_python_utils_model_checker_hpp__
21 template<
class Policy = boost::python::default_call_policies>
30 template<
class ArgumentPackage>
31 bool precall(ArgumentPackage
const & args)
const
34 boost::python::tuple py_args = boost::python::extract<boost::python::tuple>(
args);
37 if (!
m.check(MimicChecker()))
43 return static_cast<const Policy *
>(
this)->
precall(
args);
52 template<
class Policy>
54 "This algorithm does not support Joint Mimic type in the model.";
57 #endif // model_checker