Classes | Namespaces | Macros | Functions
algorithm/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 algorithm/check.hpp:
This graph shows which files directly or indirectly include this file:

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

Definition at line 76 of file algorithm/check.hpp.

◆ PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE

#define PINOCCHIO_ALGO_CHECKER_LIST_MAX_LIST_SIZE   5

Definition at line 14 of file algorithm/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; \
}

Definition at line 41 of file algorithm/check.hpp.

pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::python::Options
@ Options
Definition: expose-contact-inverse-dynamics.cpp:22
n
Vec3f n


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:33