move_link_command.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_ENVIRONMENT_MOVE_LINK_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_MOVE_LINK_COMMAND_H
28 
31 #include <memory>
32 #include <boost/serialization/export.hpp>
34 
37 
38 namespace boost::serialization
39 {
40 class access;
41 }
42 
43 namespace tesseract_environment
44 {
45 class MoveLinkCommand : public Command
46 {
47 public:
48  using Ptr = std::shared_ptr<MoveLinkCommand>;
49  using ConstPtr = std::shared_ptr<const MoveLinkCommand>;
50 
52 
61 
62  const std::shared_ptr<const tesseract_scene_graph::Joint>& getJoint() const;
63 
64  bool operator==(const MoveLinkCommand& rhs) const;
65  bool operator!=(const MoveLinkCommand& rhs) const;
66 
67 private:
68  std::shared_ptr<const tesseract_scene_graph::Joint> joint_;
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::MoveLinkCommand)
78 #endif // TESSERACT_ENVIRONMENT_MOVE_LINK_COMMAND_H
tesseract_environment::Command::Ptr
std::shared_ptr< Command > Ptr
Definition: command.h:86
tesseract_environment
Definition: command.h:45
tesseract_environment::MoveLinkCommand::getJoint
const std::shared_ptr< const tesseract_scene_graph::Joint > & getJoint() const
Definition: move_link_command.cpp:47
tesseract_environment::Command
Definition: command.h:83
tesseract_environment::MoveLinkCommand::operator!=
bool operator!=(const MoveLinkCommand &rhs) const
Definition: move_link_command.cpp:56
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_environment::MoveLinkCommand::access
friend class boost::serialization::access
Definition: move_link_command.h:70
tesseract_common::Serialization
command.h
This contains classes for recording operations applied to the environment for tracking changes....
tesseract_environment::MoveLinkCommand::joint_
std::shared_ptr< const tesseract_scene_graph::Joint > joint_
Definition: move_link_command.h:68
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::MoveLinkCommand::MoveLinkCommand
MoveLinkCommand()
Definition: move_link_command.cpp:40
tesseract_environment::MoveLinkCommand
Definition: move_link_command.h:45
tesseract_environment::MoveLinkCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: move_link_command.cpp:59
tesseract_environment::MoveLinkCommand::operator==
bool operator==(const MoveLinkCommand &rhs) const
Definition: move_link_command.cpp:49
macros.h


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