Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
remove_joint_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_REMOVE_JOINT_COMMAND_H
27#define TESSERACT_ENVIRONMENT_REMOVE_JOINT_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
34
36
38{
40{
41public:
42 using Ptr = std::shared_ptr<RemoveJointCommand>;
43 using ConstPtr = std::shared_ptr<const RemoveJointCommand>;
44
46
55
56 const std::string& getJointName() const { return joint_name_; }
57
58 bool operator==(const RemoveJointCommand& rhs) const;
59 bool operator!=(const RemoveJointCommand& rhs) const;
60
61private:
62 std::string joint_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::RemoveJointCommand, "RemoveJointCommand")
73#endif // TESSERACT_ENVIRONMENT_REMOVE_JOINT_COMMAND_H
Definition: command.h:76
Definition: remove_joint_command.h:40
std::string joint_name_
Definition: remove_joint_command.h:62
bool operator!=(const RemoveJointCommand &rhs) const
Definition: remove_joint_command.cpp:46
RemoveJointCommand(std::string joint_name)
Removes a joint from the environment.
Definition: remove_joint_command.h:54
bool operator==(const RemoveJointCommand &rhs) const
Definition: remove_joint_command.cpp:39
std::shared_ptr< const RemoveJointCommand > ConstPtr
Definition: remove_joint_command.h:43
const std::string & getJointName() const
Definition: remove_joint_command.h:56
std::shared_ptr< RemoveJointCommand > Ptr
Definition: remove_joint_command.h:42
void serialize(Archive &ar, const unsigned int version)
Definition: remove_joint_command.cpp:49
friend class boost::serialization::access
Definition: remove_joint_command.h:64
RemoveJointCommand()
Definition: remove_joint_command.h:45
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
joint_1 mimic joint_name
Definition: tesseract_scene_graph_joint_unit.cpp:163