Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
modify_allowed_collisions_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_MODIFY_ALLOWED_COLLISIONS_MATRIX_COMMAND_H
27#define TESSERACT_ENVIRONMENT_MODIFY_ALLOWED_COLLISIONS_MATRIX_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
33#include <string>
35
38
40{
42{
43 ADD,
44 REMOVE,
46};
47
49{
50public:
51 using Ptr = std::shared_ptr<ModifyAllowedCollisionsCommand>;
52 using ConstPtr = std::shared_ptr<const ModifyAllowedCollisionsCommand>;
53
55
57
60
61 bool operator==(const ModifyAllowedCollisionsCommand& rhs) const;
62 bool operator!=(const ModifyAllowedCollisionsCommand& rhs) const;
63
64private:
67
69 template <class Archive>
70 void serialize(Archive& ar, const unsigned int version); // NOLINT
71};
72} // namespace tesseract_environment
73
74#include <boost/serialization/export.hpp>
75#include <boost/serialization/tracking.hpp>
76BOOST_CLASS_EXPORT_KEY2(tesseract_environment::ModifyAllowedCollisionsCommand, "ModifyAllowedCollisionsCommand")
77
78#endif // TESSERACT_ENVIRONMENT_MODIFY_ALLOWED_COLLISIONS_MATRIX_COMMAND_H
Definition: allowed_collision_matrix.h:23
Definition: command.h:76
Definition: modify_allowed_collisions_command.h:49
const tesseract_common::AllowedCollisionMatrix & getAllowedCollisionMatrix() const
Definition: modify_allowed_collisions_command.cpp:47
tesseract_common::AllowedCollisionMatrix acm_
Definition: modify_allowed_collisions_command.h:66
bool operator!=(const ModifyAllowedCollisionsCommand &rhs) const
Definition: modify_allowed_collisions_command.cpp:60
ModifyAllowedCollisionsType type_
Definition: modify_allowed_collisions_command.h:65
std::shared_ptr< ModifyAllowedCollisionsCommand > Ptr
Definition: modify_allowed_collisions_command.h:51
std::shared_ptr< const ModifyAllowedCollisionsCommand > ConstPtr
Definition: modify_allowed_collisions_command.h:52
friend class boost::serialization::access
Definition: modify_allowed_collisions_command.h:68
void serialize(Archive &ar, const unsigned int version)
Definition: modify_allowed_collisions_command.cpp:66
ModifyAllowedCollisionsType getModifyType() const
Definition: modify_allowed_collisions_command.cpp:46
ModifyAllowedCollisionsCommand()
Definition: modify_allowed_collisions_command.cpp:38
bool operator==(const ModifyAllowedCollisionsCommand &rhs) const
Definition: modify_allowed_collisions_command.cpp:52
auto acm
Definition: collision_core_unit.cpp:33
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
ModifyAllowedCollisionsType
Definition: modify_allowed_collisions_command.h:42
mCollisionCheckConfig contact_request type
Definition: tesseract_environment_collision.cpp:103