replace_joint_command.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_ENVIRONMENT_REPLACE_JOINT_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_REPLACE_JOINT_COMMAND_H
30 #include <memory>
31 #include <boost/serialization/export.hpp>
33 
36 
37 namespace boost::serialization
38 {
39 class access;
40 }
41 
42 namespace tesseract_environment
43 {
45 {
46 public:
47  using Ptr = std::shared_ptr<ReplaceJointCommand>;
48  using ConstPtr = std::shared_ptr<const ReplaceJointCommand>;
49 
51 
66 
67  const std::shared_ptr<const tesseract_scene_graph::Joint>& getJoint() const;
68 
69  bool operator==(const ReplaceJointCommand& rhs) const;
70  bool operator!=(const ReplaceJointCommand& rhs) const;
71 
72 private:
73  std::shared_ptr<const tesseract_scene_graph::Joint> joint_;
74 
77  template <class Archive>
78  void serialize(Archive& ar, const unsigned int version); // NOLINT
79 };
80 
81 } // namespace tesseract_environment
82 
83 BOOST_CLASS_EXPORT_KEY(tesseract_environment::ReplaceJointCommand)
84 #endif // TESSERACT_ENVIRONMENT_REPLACE_JOINT_COMMAND_H
tesseract_environment::Command::Ptr
std::shared_ptr< Command > Ptr
Definition: command.h:86
tesseract_environment::ReplaceJointCommand::ReplaceJointCommand
ReplaceJointCommand()
Definition: replace_joint_command.cpp:40
tesseract_environment
Definition: command.h:45
tesseract_environment::ReplaceJointCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: replace_joint_command.cpp:64
tesseract_environment::Command
Definition: command.h:83
tesseract_environment::ReplaceJointCommand::operator!=
bool operator!=(const ReplaceJointCommand &rhs) const
Definition: replace_joint_command.cpp:61
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::ReplaceJointCommand::getJoint
const std::shared_ptr< const tesseract_scene_graph::Joint > & getJoint() const
Definition: replace_joint_command.cpp:52
tesseract_environment::ReplaceJointCommand
Definition: replace_joint_command.h:44
boost::serialization
TESSERACT_COMMON_IGNORE_WARNINGS_POP
fwd.h
tesseract_scene_graph::Joint
tesseract_environment::Command::ConstPtr
std::shared_ptr< const Command > ConstPtr
Definition: command.h:87
tesseract_environment::ReplaceJointCommand::access
friend class boost::serialization::access
Definition: replace_joint_command.h:75
tesseract_environment::ReplaceJointCommand::joint_
std::shared_ptr< const tesseract_scene_graph::Joint > joint_
Definition: replace_joint_command.h:73
macros.h
tesseract_environment::ReplaceJointCommand::operator==
bool operator==(const ReplaceJointCommand &rhs) const
Definition: replace_joint_command.cpp:54


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