8 #include <boost/fusion/container/list.hpp>
9 #include <boost/fusion/container/generation/make_list.hpp>
10 #include <boost/fusion/algorithm/iteration/accumulate.hpp>
12 #include "pinocchio/multibody.hpp"
13 #include "pinocchio/algorithm/check-base.hpp"
19 #define PINOCCHIO_DEFINE_ALGO_CHECKER(NAME) \
20 struct NAME##Checker : public AlgorithmCheckerBase<NAME##Checker> \
22 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl> \
23 bool checkModel_impl(const ModelTpl<Scalar, Options, JointCollectionTpl> &) const; \
27 PINOCCHIO_DEFINE_ALGO_CHECKER(Parent);
29 PINOCCHIO_DEFINE_ALGO_CHECKER(Mimic);
34 typedef typename boost::fusion::list<D...> ArgType;
37 : checkerList(checkerList)
43 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
44 bool checkModel_impl(
const ModelTpl<Scalar, Options, JointCollectionTpl> & model)
const;
46 const ArgType & checkerList;
60 #include "pinocchio/src/algorithm/check-model.hxx"
Main pinocchio namespace.