Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
add_kinematics_information_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_ADD_KINEMATICS_INFORMATION_COMMAND_H
27#define TESSERACT_ENVIRONMENT_ADD_KINEMATICS_INFORMATION_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
34
37
39{
41{
42public:
43 using Ptr = std::shared_ptr<AddKinematicsInformationCommand>;
44 using ConstPtr = std::shared_ptr<const AddKinematicsInformationCommand>;
45
52 : Command(CommandType::ADD_KINEMATICS_INFORMATION), kinematics_information_(std::move(kinematics_information))
53 {
54 }
55
57
58 bool operator==(const AddKinematicsInformationCommand& rhs) const;
59 bool operator!=(const AddKinematicsInformationCommand& rhs) const;
60
61private:
63
65 template <class Archive>
66 void serialize(Archive& ar, const unsigned int version); // NOLINT
67};
68} // namespace tesseract_environment
69
70#include <boost/serialization/export.hpp>
71#include <boost/serialization/tracking.hpp>
72BOOST_CLASS_EXPORT_KEY2(tesseract_environment::AddKinematicsInformationCommand, "AddKinematicsInformationCommand")
73#endif // TESSERACT_ENVIRONMENT_ADD_KINEMATICS_INFORMATION_COMMAND_H
Definition: add_kinematics_information_command.h:41
std::shared_ptr< AddKinematicsInformationCommand > Ptr
Definition: add_kinematics_information_command.h:43
std::shared_ptr< const AddKinematicsInformationCommand > ConstPtr
Definition: add_kinematics_information_command.h:44
bool operator!=(const AddKinematicsInformationCommand &rhs) const
Definition: add_kinematics_information_command.cpp:47
const tesseract_srdf::KinematicsInformation & getKinematicsInformation() const
Definition: add_kinematics_information_command.h:56
AddKinematicsInformationCommand(tesseract_srdf::KinematicsInformation kinematics_information)
Add kinematics information to the environment.
Definition: add_kinematics_information_command.h:51
tesseract_srdf::KinematicsInformation kinematics_information_
Definition: add_kinematics_information_command.h:62
AddKinematicsInformationCommand()
Definition: add_kinematics_information_command.h:46
void serialize(Archive &ar, const unsigned int version)
Definition: add_kinematics_information_command.cpp:53
friend class boost::serialization::access
Definition: add_kinematics_information_command.h:64
bool operator==(const AddKinematicsInformationCommand &rhs) const
Definition: add_kinematics_information_command.cpp:40
Definition: command.h:76
This contains classes for recording operations applied to the environment for tracking changes....
This hold the kinematics information.
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: command.h:39
CommandType
Definition: command.h:41
This hold the kinematics information used to create the SRDF and is the data container for the manipu...
Definition: kinematics_information.h:63