5 #ifndef __pinocchio_algorithm_check_base_hpp__
6 #define __pinocchio_algorithm_check_base_hpp__
8 #include "pinocchio/multibody/fwd.hpp"
14 template<
typename AlgorithmCheckerDerived>
17 AlgorithmCheckerDerived & derived()
19 return *
static_cast<AlgorithmCheckerDerived *
>(
this);
22 const AlgorithmCheckerDerived & derived()
const
24 return *
static_cast<const AlgorithmCheckerDerived *
>(
this);
27 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
30 return derived().checkModel_impl(model);
Main pinocchio namespace.
CRTP class describing the API of the checkers.