change_joint_origin_command.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
28 
31 #include <memory>
32 #include <string>
33 #include <Eigen/Geometry>
34 #include <boost/serialization/export.hpp>
36 
38 
39 namespace boost::serialization
40 {
41 class access;
42 }
43 
44 namespace tesseract_environment
45 {
47 {
48 public:
49  // LCOV_EXCL_START
50  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
51  // LCOV_EXCL_STOP
52 
53  using Ptr = std::shared_ptr<ChangeJointOriginCommand>;
54  using ConstPtr = std::shared_ptr<const ChangeJointOriginCommand>;
55 
57 
66  ChangeJointOriginCommand(std::string joint_name, const Eigen::Isometry3d& origin);
67 
68  const std::string& getJointName() const;
69  const Eigen::Isometry3d& getOrigin() const;
70 
71  bool operator==(const ChangeJointOriginCommand& rhs) const;
72  bool operator!=(const ChangeJointOriginCommand& rhs) const;
73 
74 private:
75  std::string joint_name_;
76  Eigen::Isometry3d origin_;
77 
80  template <class Archive>
81  void serialize(Archive& ar, const unsigned int version); // NOLINT
82 };
83 } // namespace tesseract_environment
84 
86 #endif // TESSERACT_ENVIRONMENT_CHANGE_JOINT_ORIGIN_COMMAND_H
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_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
tesseract_common::Serialization
tesseract_environment::ChangeJointOriginCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: change_joint_origin_command.cpp:62
command.h
This contains classes for recording operations applied to the environment for tracking changes....
tesseract_environment::ChangeJointOriginCommand::origin_
Eigen::Isometry3d origin_
Definition: change_joint_origin_command.h:76
tesseract_environment::ChangeJointOriginCommand
Definition: change_joint_origin_command.h:46
tesseract_environment::ChangeJointOriginCommand::access
friend class boost::serialization::access
Definition: change_joint_origin_command.h:78
boost::serialization
tesseract_environment::ChangeJointOriginCommand::ChangeJointOriginCommand
ChangeJointOriginCommand()
Definition: change_joint_origin_command.cpp:40
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::Command::ConstPtr
std::shared_ptr< const Command > ConstPtr
Definition: command.h:87
tesseract_environment::ChangeJointOriginCommand::operator==
bool operator==(const ChangeJointOriginCommand &rhs) const
Definition: change_joint_origin_command.cpp:51
tesseract_environment::ChangeJointOriginCommand::joint_name_
std::string joint_name_
Definition: change_joint_origin_command.h:75
tesseract_environment::ChangeJointOriginCommand::getOrigin
const Eigen::Isometry3d & getOrigin() const
Definition: change_joint_origin_command.cpp:49
tesseract_environment::ChangeJointOriginCommand::getJointName
const std::string & getJointName() const
Definition: change_joint_origin_command.cpp:48
macros.h
tesseract_environment::ChangeJointOriginCommand::operator!=
bool operator!=(const ChangeJointOriginCommand &rhs) const
Definition: change_joint_origin_command.cpp:59


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