Go to the documentation of this file.
26 #ifndef TESSERACT_ENVIRONMENT_ADD_LINK_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_ADD_LINK_COMMAND_H
32 #include <boost/serialization/export.hpp>
48 using Ptr = std::shared_ptr<AddLinkCommand>;
49 using ConstPtr = std::shared_ptr<const AddLinkCommand>;
95 bool replace_allowed =
false);
97 const std::shared_ptr<const tesseract_scene_graph::Link>&
getLink()
const;
98 const std::shared_ptr<const tesseract_scene_graph::Joint>&
getJoint()
const;
105 std::shared_ptr<const tesseract_scene_graph::Link>
link_;
106 std::shared_ptr<const tesseract_scene_graph::Joint>
joint_;
111 template <
class Archive>
112 void serialize(Archive& ar,
const unsigned int version);
118 #endif // TESSERACT_ENVIRONMENT_ADD_COMMAND_H
std::shared_ptr< Command > Ptr
friend class boost::serialization::access
std::shared_ptr< const tesseract_scene_graph::Joint > joint_
bool replaceAllowed() const
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
void serialize(Archive &ar, const unsigned int version)
This contains classes for recording operations applied to the environment for tracking changes....
std::shared_ptr< const tesseract_scene_graph::Link > link_
const std::shared_ptr< const tesseract_scene_graph::Link > & getLink() const
bool operator==(const AddLinkCommand &rhs) const
std::shared_ptr< const Command > ConstPtr
const std::shared_ptr< const tesseract_scene_graph::Joint > & getJoint() const
bool operator!=(const AddLinkCommand &rhs) const