add_kinematics_information_command.cpp
Go to the documentation of this file.
1 
28 #include <boost/serialization/access.hpp>
29 #include <boost/serialization/nvp.hpp>
30 #include <boost/serialization/shared_ptr.hpp>
32 
33 #include <tesseract_common/utils.h>
35 
36 namespace tesseract_environment
37 {
39 
41  tesseract_srdf::KinematicsInformation kinematics_information)
42  : Command(CommandType::ADD_KINEMATICS_INFORMATION), kinematics_information_(std::move(kinematics_information))
43 {
44 }
45 
47 {
49 }
50 
52 {
53  bool equal = true;
54  equal &= Command::operator==(rhs);
56  return equal;
57 }
59 {
60  return !operator==(rhs);
61 }
62 
63 template <class Archive>
64 void AddKinematicsInformationCommand::serialize(Archive& ar, const unsigned int /*version*/)
65 {
66  ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(Command);
67  ar& BOOST_SERIALIZATION_NVP(kinematics_information_);
68 }
69 } // namespace tesseract_environment
70 
tesseract_environment::Command::operator==
bool operator==(const Command &rhs) const
Definition: command.cpp:60
tesseract_environment
Definition: command.h:45
tesseract_environment::Command
Definition: command.h:83
utils.h
tesseract_environment::AddKinematicsInformationCommand::AddKinematicsInformationCommand
AddKinematicsInformationCommand()
Definition: add_kinematics_information_command.cpp:38
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE
#define TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(Type)
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_environment::CommandType::ADD_KINEMATICS_INFORMATION
@ ADD_KINEMATICS_INFORMATION
tesseract_environment::AddKinematicsInformationCommand::getKinematicsInformation
const tesseract_srdf::KinematicsInformation & getKinematicsInformation() const
Definition: add_kinematics_information_command.cpp:46
serialization.h
add_kinematics_information_command.h
Used to kinematics information to the environment.
tesseract_environment::AddKinematicsInformationCommand
Definition: add_kinematics_information_command.h:45
tesseract_srdf::KinematicsInformation
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::AddKinematicsInformationCommand::kinematics_information_
tesseract_srdf::KinematicsInformation kinematics_information_
Definition: add_kinematics_information_command.h:64
tesseract_environment::AddKinematicsInformationCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: add_kinematics_information_command.cpp:64
tesseract_environment::AddKinematicsInformationCommand::operator!=
bool operator!=(const AddKinematicsInformationCommand &rhs) const
Definition: add_kinematics_information_command.cpp:58
macros.h
tesseract_environment::CommandType
CommandType
Definition: command.h:47
tesseract_environment::AddKinematicsInformationCommand::operator==
bool operator==(const AddKinematicsInformationCommand &rhs) const
Definition: add_kinematics_information_command.cpp:51


tesseract_environment
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:21