calibration_info.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_COMMON_CALIBRATION_INFO_H
27 #define TESSERACT_COMMON_CALIBRATION_INFO_H
28 
29 #include <tesseract_common/fwd.h>
31 
32 #include <boost/serialization/export.hpp>
33 namespace boost::serialization
34 {
35 class access;
36 }
37 
38 namespace tesseract_common
39 {
42 {
43  // LCOV_EXCL_START
44  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
45  // LCOV_EXCL_STOP
46 
47  CalibrationInfo() = default;
48 
55 
57  void insert(const CalibrationInfo& other);
58 
60  void clear();
61 
63  bool empty() const;
64 
65  // Yaml Config key
66  static inline const std::string CONFIG_KEY{ "calibration" };
67 
68  bool operator==(const CalibrationInfo& rhs) const;
69  bool operator!=(const CalibrationInfo& rhs) const;
70 
71 private:
74  template <class Archive>
75  void serialize(Archive& ar, const unsigned int version); // NOLINT
76 };
77 } // namespace tesseract_common
78 
79 BOOST_CLASS_EXPORT_KEY(tesseract_common::CalibrationInfo)
80 
81 #endif // TESSERACT_COMMON_CALIBRATION_INFO_H
tesseract_common::CalibrationInfo::CONFIG_KEY
static const std::string CONFIG_KEY
Definition: calibration_info.h:66
tesseract_common::CalibrationInfo::empty
bool empty() const
Check if structure is empty.
Definition: calibration_info.cpp:49
tesseract_common
Definition: allowed_collision_matrix.h:19
tesseract_common::CalibrationInfo::joints
tesseract_common::TransformMap joints
The joint origin calibration information.
Definition: calibration_info.h:54
tesseract_common::CalibrationInfo::CalibrationInfo
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CalibrationInfo()=default
tesseract_common::TransformMap
AlignedMap< std::string, Eigen::Isometry3d > TransformMap
Definition: eigen_types.h:32
fwd.h
tesseract_common::Serialization
Definition: serialization.h:97
eigen_types.h
tesseract_common::CalibrationInfo
The CalibrationInfo struct.
Definition: calibration_info.h:41
boost::serialization
Definition: allowed_collision_matrix.h:14
tesseract_common::CalibrationInfo::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: calibration_info.cpp:65
tesseract_common::CalibrationInfo::clear
void clear()
Clear the contents.
Definition: calibration_info.cpp:47
tesseract_common::CalibrationInfo::operator==
bool operator==(const CalibrationInfo &rhs) const
Definition: calibration_info.cpp:51
tesseract_common::CalibrationInfo::access
friend class boost::serialization::access
Definition: calibration_info.h:72
tesseract_common::CalibrationInfo::operator!=
bool operator!=(const CalibrationInfo &rhs) const
Definition: calibration_info.cpp:62
tesseract_common::CalibrationInfo::insert
void insert(const CalibrationInfo &other)
Insert the content of an other CalibrationInfo.
Definition: calibration_info.cpp:41


tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40