Classes | Namespaces | Macros | Functions
check.hpp File Reference
#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"
Include dependency graph for check.hpp:

Go to the source code of this file.

Classes

struct  pinocchio::AlgorithmCheckerBase< AlgorithmCheckerDerived >
 CRTP class describing the API of the checkers. More...
 
struct  pinocchio::AlgorithmCheckerList<>
 Checker having a list of Checker as input argument. More...
 

Namespaces

 pinocchio
 Main pinocchio namespace.
 

Macros

#define MAKE_ALGO_CHECKER_LIST(z, n, _)
 
#define PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE   5
 
#define PINOCCHIO_DEFINE_ALGO_CHECKER(NAME)
 

Functions

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...
 

Macro Definition Documentation

◆ MAKE_ALGO_CHECKER_LIST

#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))); } \
Vec3f n

Definition at line 63 of file check.hpp.

◆ PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE

#define PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE   5

Definition at line 14 of file check.hpp.

◆ PINOCCHIO_DEFINE_ALGO_CHECKER

#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; \
}
SE3::Scalar Scalar
Definition: conversions.cpp:13

Definition at line 35 of file check.hpp.



pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:33