File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
tesseract_common/include/tesseract_common Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
3838#include < boost/archive/binary_iarchive.hpp>
3939#include < boost/serialization/tracking.hpp>
4040#include < boost/serialization/tracking_enum.hpp>
41+ #include < boost/uuid/uuid_io.hpp>
42+ #include < boost/uuid/uuid_serialize.hpp>
4143TESSERACT_COMMON_IGNORE_WARNINGS_POP
4244
4345#include < tesseract_common/types.h>
Original file line number Diff line number Diff line change 2727#define TESSERACT_COMMON_TOOL_PATH_H
2828
2929#include < string>
30+ #include < boost/uuid/uuid.hpp>
3031#include < tesseract_common/tool_path_segment.h>
32+ #include < tesseract_common/serialization.h>
3133
3234namespace tesseract_common
3335{
@@ -235,11 +237,16 @@ class ToolPath
235237 /* * @brief The namespace associated with the tool path */
236238 std::string ns_{ " general" };
237239
240+ friend struct tesseract_common ::Serialization;
238241 friend class boost ::serialization::access;
239242 template <class Archive >
240243 void serialize (Archive& ar, const unsigned int version); // NOLINT
241244};
242245
243246} // namespace tesseract_common
244247
248+ #include < boost/serialization/export.hpp>
249+ #include < boost/serialization/tracking.hpp>
250+ BOOST_CLASS_EXPORT_KEY2 (tesseract_common::ToolPath, " ToolPath" )
251+
245252#endif // TESSERACT_COMMON_TOOL_PATH_H
Original file line number Diff line number Diff line change 2929#include < string>
3030#include < boost/uuid/uuid.hpp>
3131#include < tesseract_common/types.h>
32+ #include < tesseract_common/serialization.h>
3233
3334namespace tesseract_common
3435{
@@ -219,10 +220,16 @@ class ToolPathSegment
219220 /* * @brief The container */
220221 VectorIsometry3d container_;
221222
223+ friend struct tesseract_common ::Serialization;
222224 friend class boost ::serialization::access;
223225 template <class Archive >
224226 void serialize (Archive& ar, const unsigned int version); // NOLINT
225227};
226228
227229} // namespace tesseract_common
230+
231+ #include < boost/serialization/export.hpp>
232+ #include < boost/serialization/tracking.hpp>
233+ BOOST_CLASS_EXPORT_KEY2 (tesseract_common::ToolPathSegment, " ToolPathSegment" )
234+
228235#endif // TESSERACT_COMMON_TOOL_PATH_SEGMENT_H
You can’t perform that action at this time.
0 commit comments