GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: include/pinocchio/algorithm/default-check.hpp Lines: 2 2 100.0 %
Date: 2024-01-23 21:41:47 Branches: 1 2 50.0 %

Line Branch Exec Source
1
//
2
// Copyright (c) 2016-2018 CNRS
3
//
4
5
#ifndef __pinocchio_default_check_hpp__
6
#define __pinocchio_default_check_hpp__
7
8
#include <pinocchio/algorithm/check.hpp>
9
#include <pinocchio/algorithm/aba.hpp>
10
#include <pinocchio/algorithm/crba.hpp>
11
12
namespace pinocchio
13
{
14
  /// Default checker-list, used as the default argument in Model::check().
15
1
  inline AlgorithmCheckerList<ParentChecker,CRBAChecker,ABAChecker> makeDefaultCheckerList()
16
2
  { return makeAlgoCheckerList(ParentChecker(),CRBAChecker(),ABAChecker()); }
17
18
#define DEFAULT_CHECKERS makeDefaultCheckerList()
19
20
  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl>
21
  inline bool ModelTpl<Scalar,Options,JointCollectionTpl>::check() const
22
  { return this->check(DEFAULT_CHECKERS); }
23
24
} // namespace pinocchio
25
26
#endif // ifndef __pinocchio_default_check_hpp__