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 <memory>
32 #include <string>
33 #include <boost/serialization/export.hpp>
35 
37 
38 namespace boost::serialization
39 {
40 class access;
41 }
42 
43 namespace tesseract_environment
44 {
46 {
47 public:
48  using Ptr = std::shared_ptr<RemoveJointCommand>;
49  using ConstPtr = std::shared_ptr<const RemoveJointCommand>;
50 
52 
60  RemoveJointCommand(std::string joint_name);
61 
62  const std::string& getJointName() const;
63 
64  bool operator==(const RemoveJointCommand& rhs) const;
65  bool operator!=(const RemoveJointCommand& rhs) const;
66 
67 private:
68  std::string joint_name_;
69 
72  template <class Archive>
73  void serialize(Archive& ar, const unsigned int version); // NOLINT
74 };
75 } // namespace tesseract_environment
76 
77 BOOST_CLASS_EXPORT_KEY(tesseract_environment::RemoveJointCommand)
78 #endif // TESSERACT_ENVIRONMENT_REMOVE_JOINT_COMMAND_H
tesseract_environment::Command::Ptr
std::shared_ptr< Command > Ptr
Definition: command.h:86
tesseract_environment
Definition: command.h:45
tesseract_environment::RemoveJointCommand::getJointName
const std::string & getJointName() const
Definition: remove_joint_command.cpp:45
tesseract_environment::RemoveJointCommand
Definition: remove_joint_command.h:45
tesseract_environment::Command
Definition: command.h:83
tesseract_environment::RemoveJointCommand::RemoveJointCommand
RemoveJointCommand()
Definition: remove_joint_command.cpp:38
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_common::Serialization
command.h
This contains classes for recording operations applied to the environment for tracking changes....
tesseract_environment::RemoveJointCommand::access
friend class boost::serialization::access
Definition: remove_joint_command.h:70
tesseract_environment::RemoveJointCommand::operator!=
bool operator!=(const RemoveJointCommand &rhs) const
Definition: remove_joint_command.cpp:54
boost::serialization
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::RemoveJointCommand::joint_name_
std::string joint_name_
Definition: remove_joint_command.h:68
tesseract_environment::Command::ConstPtr
std::shared_ptr< const Command > ConstPtr
Definition: command.h:87
tesseract_environment::RemoveJointCommand::operator==
bool operator==(const RemoveJointCommand &rhs) const
Definition: remove_joint_command.cpp:47
tesseract_environment::RemoveJointCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: remove_joint_command.cpp:57
macros.h


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