joints-constraint.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2019 INRIA
3 //
4 
5 #ifndef __pinocchio_serialization_joints_constraint_hpp__
6 #define __pinocchio_serialization_joints_constraint_hpp__
7 
8 #include "pinocchio/serialization/fwd.hpp"
9 
10 #include <boost/serialization/split_free.hpp>
11 #include <boost/serialization/vector.hpp>
12 
13 namespace boost
14 {
15  namespace serialization
16  {
17 
18  template <class Archive, typename Scalar, int Options, int axis>
19  void serialize(Archive & /*ar*/,
21  const unsigned int /*version*/)
22  {}
23 
24  template <class Archive, typename Scalar, int Options, int axis>
25  void serialize(Archive & /*ar*/,
27  const unsigned int /*version*/)
28  {}
29 
30  template <class Archive, typename Scalar, int Options>
31  void serialize(Archive & /*ar*/,
33  const unsigned int /*version*/)
34  {}
35 
36  template <class Archive, typename Scalar, int Options>
37  void serialize(Archive & /*ar*/,
39  const unsigned int /*version*/)
40  {}
41 
42  template <class Archive, typename Scalar, int Options>
43  void serialize(Archive & /*ar*/,
45  const unsigned int /*version*/)
46  {}
47 
48  template <class Archive, typename Scalar, int Options>
49  void serialize(Archive & ar,
51  const unsigned int /*version*/)
52  {
53  ar & make_nvp("axis",S.axis());
54  }
55 
56  template <class Archive, typename Scalar, int Options>
57  void serialize(Archive & ar,
59  const unsigned int /*version*/)
60  {
61  ar & make_nvp("axis",S.axis());
62  }
63 
64  template <class Archive, int Dim, typename Scalar, int Options>
65  void serialize(Archive & ar,
67  const unsigned int /*version*/)
68  {
69  ar & make_nvp("matrix",S.matrix());
70  }
71 
72  template <class Archive, class Constraint>
73  void serialize(Archive & ar,
75  const unsigned int /*version*/)
76  {
77  ar & make_nvp("scaling",S.scaling());
78  ar & make_nvp("constraint",S.constraint());
79  }
80 
81  template <class Archive, typename Scalar, int Options>
82  void serialize(Archive & /*ar*/,
84  const unsigned int /*version*/)
85  {}
86 
87  template <class Archive, typename Scalar, int Options>
88  void serialize(Archive & ar,
90  const unsigned int /*version*/)
91  {
92  ar & make_nvp("angularSubspace",S.angularSubspace());
93  }
94 
95  }
96 }
97 
98 #endif // ifndef __pinocchio_serialization_joints_constraint_hpp__
99 
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
const nvp< typename pinocchio::container::aligned_vector< T >::vector_base > make_nvp(const char *name, pinocchio::container::aligned_vector< T > &t)
const Constraint & constraint() const
const Scalar & scaling() const


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