Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
remove_allowed_collision_link_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_REMOVE_ALLOWED_COLLISION_LINK_COMMAND_H
27#define TESSERACT_ENVIRONMENT_REMOVE_ALLOWED_COLLISION_LINK_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
34
36
38{
40{
41public:
42 using Ptr = std::shared_ptr<RemoveAllowedCollisionLinkCommand>;
43 using ConstPtr = std::shared_ptr<const RemoveAllowedCollisionLinkCommand>;
44
46
51 RemoveAllowedCollisionLinkCommand(std::string link_name)
53 {
54 }
55
56 const std::string& getLinkName() const { return link_name_; }
57
58 bool operator==(const RemoveAllowedCollisionLinkCommand& rhs) const;
59 bool operator!=(const RemoveAllowedCollisionLinkCommand& rhs) const;
60
61private:
62 std::string link_name_;
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::RemoveAllowedCollisionLinkCommand, "RemoveAllowedCollisionLinkCommand")
73#endif // TESSERACT_ENVIRONMENT_REMOVE_ALLOWED_COLLISION_LINK_COMMAND_H
Definition: command.h:76
Definition: remove_allowed_collision_link_command.h:40
std::shared_ptr< RemoveAllowedCollisionLinkCommand > Ptr
Definition: remove_allowed_collision_link_command.h:42
std::shared_ptr< const RemoveAllowedCollisionLinkCommand > ConstPtr
Definition: remove_allowed_collision_link_command.h:43
bool operator==(const RemoveAllowedCollisionLinkCommand &rhs) const
Definition: remove_allowed_collision_link_command.cpp:40
RemoveAllowedCollisionLinkCommand(std::string link_name)
Remove disabled collision for any pair with link_name from allowed collision matrix.
Definition: remove_allowed_collision_link_command.h:51
bool operator!=(const RemoveAllowedCollisionLinkCommand &rhs) const
Definition: remove_allowed_collision_link_command.cpp:47
RemoveAllowedCollisionLinkCommand()
Definition: remove_allowed_collision_link_command.h:45
void serialize(Archive &ar, const unsigned int version)
Definition: remove_allowed_collision_link_command.cpp:53
friend class boost::serialization::access
Definition: remove_allowed_collision_link_command.h:64
const std::string & getLinkName() const
Definition: remove_allowed_collision_link_command.h:56
std::string link_name_
Definition: remove_allowed_collision_link_command.h:62
This contains classes for recording operations applied to the environment for tracking changes....
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