move_joint_command.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_ENVIRONMENT_MOVE_JOINT_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_MOVE_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 {
45 class MoveJointCommand : public Command
46 {
47 public:
48  using Ptr = std::shared_ptr<MoveJointCommand>;
49  using ConstPtr = std::shared_ptr<const MoveJointCommand>;
50 
52 
61  MoveJointCommand(std::string joint_name, std::string parent_link);
62 
63  const std::string& getJointName() const;
64  const std::string& getParentLink() const;
65 
66  bool operator==(const MoveJointCommand& rhs) const;
67  bool operator!=(const MoveJointCommand& rhs) const;
68 
69 private:
70  std::string joint_name_;
71  std::string parent_link_;
72 
75  template <class Archive>
76  void serialize(Archive& ar, const unsigned int version); // NOLINT
77 };
78 } // namespace tesseract_environment
79 
80 BOOST_CLASS_EXPORT_KEY(tesseract_environment::MoveJointCommand)
81 
82 #endif // TESSERACT_ENVIRONMENT_MOVE_JOINT_COMMAND_H
tesseract_environment::MoveJointCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: move_joint_command.cpp:59
tesseract_environment::Command::Ptr
std::shared_ptr< Command > Ptr
Definition: command.h:86
tesseract_environment
Definition: command.h:45
tesseract_environment::Command
Definition: command.h:83
tesseract_environment::MoveJointCommand::operator==
bool operator==(const MoveJointCommand &rhs) const
Definition: move_joint_command.cpp:48
tesseract_environment::MoveJointCommand::joint_name_
std::string joint_name_
Definition: move_joint_command.h:70
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_common::Serialization
tesseract_environment::MoveJointCommand
Definition: move_joint_command.h:45
command.h
This contains classes for recording operations applied to the environment for tracking changes....
tesseract_environment::MoveJointCommand::getParentLink
const std::string & getParentLink() const
Definition: move_joint_command.cpp:46
tesseract_environment::MoveJointCommand::MoveJointCommand
MoveJointCommand()
Definition: move_joint_command.cpp:38
boost::serialization
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::Command::ConstPtr
std::shared_ptr< const Command > ConstPtr
Definition: command.h:87
tesseract_environment::MoveJointCommand::operator!=
bool operator!=(const MoveJointCommand &rhs) const
Definition: move_joint_command.cpp:56
tesseract_environment::MoveJointCommand::getJointName
const std::string & getJointName() const
Definition: move_joint_command.cpp:45
tesseract_environment::MoveJointCommand::parent_link_
std::string parent_link_
Definition: move_joint_command.h:71
macros.h
tesseract_environment::MoveJointCommand::access
friend class boost::serialization::access
Definition: move_joint_command.h:73


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