5 #ifndef __pinocchio_algorithm_check_model_hpp__
6 #define __pinocchio_algorithm_check_model_hpp__
8 #include "pinocchio/algorithm/check-base.hpp"
10 #include <boost/fusion/container/list.hpp>
11 #include <boost/fusion/container/generation/make_list.hpp>
16 #define PINOCCHIO_DEFINE_ALGO_CHECKER(NAME) \
17 struct NAME##Checker : public AlgorithmCheckerBase<NAME##Checker> \
19 template<typename Scalar, int Options, template<typename, int> class JointCollectionTpl> \
20 bool checkModel_impl(const ModelTpl<Scalar, Options, JointCollectionTpl> &) const; \
24 PINOCCHIO_DEFINE_ALGO_CHECKER(Parent);
26 PINOCCHIO_DEFINE_ALGO_CHECKER(Mimic);
31 typedef typename boost::fusion::list<D...> ArgType;
34 : checkerList(checkerList)
40 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
43 const ArgType & checkerList;
55 #include "pinocchio/algorithm/check-model.hxx"
Main pinocchio namespace.
CRTP class describing the API of the checkers.