#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include <boost/fusion/container/list.hpp>
#include <boost/fusion/container/generation/make_list.hpp>
#include "pinocchio/algorithm/check.hxx"
Go to the source code of this file.
|
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl> |
bool | pinocchio::checkData (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data) |
|
| pinocchio::PINOCCHIO_DEFINE_ALGO_CHECKER (Parent) |
| Simple model checker, that assert that model.parents is indeed a tree. More...
|
|
#define MAKE_ALGO_CHECKER_LIST |
( |
|
z, |
|
|
|
n, |
|
|
|
_ |
|
) |
| |
Value:\
template<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n),class D)> \
AlgorithmCheckerList<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n),D)> makeAlgoCheckerList(BOOST_PP_ENUM_BINARY_PARAMS(BOOST_PP_INC(n) , D, const & arg)) \
{ return AlgorithmCheckerList<BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n),D)>(boost::fusion::make_list(BOOST_PP_ENUM_PARAMS(BOOST_PP_INC(n),arg))); } \
Definition at line 63 of file check.hpp.
#define PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE 5 |
#define PINOCCHIO_DEFINE_ALGO_CHECKER |
( |
|
NAME | ) |
|
Value:struct NAME##Checker : public AlgorithmCheckerBase<NAME##Checker> \
{ \
template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl> \
inline bool checkModel_impl(const ModelTpl<
Scalar,
Options,JointCollectionTpl> &)
const; \
}
Definition at line 35 of file check.hpp.