change_joint_acceleration_limits_command.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_ENVIRONMENT_CHANGE_JOINT_ACCELERATION_LIMITS_COMMAND_H
27 #define TESSERACT_ENVIRONMENT_CHANGE_JOINT_ACCELERATION_LIMITS_COMMAND_H
28 
31 #include <memory>
32 #include <string>
33 #include <unordered_map>
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  using Ptr = std::shared_ptr<ChangeJointAccelerationLimitsCommand>;
50  using ConstPtr = std::shared_ptr<const ChangeJointAccelerationLimitsCommand>;
51 
53 
59  ChangeJointAccelerationLimitsCommand(std::string joint_name, double limit);
60 
65  ChangeJointAccelerationLimitsCommand(std::unordered_map<std::string, double> limits);
66 
67  const std::unordered_map<std::string, double>& getLimits() const;
68 
69  bool operator==(const ChangeJointAccelerationLimitsCommand& rhs) const;
70  bool operator!=(const ChangeJointAccelerationLimitsCommand& rhs) const;
71 
72 private:
73  std::unordered_map<std::string, double> limits_;
74 
77  template <class Archive>
78  void serialize(Archive& ar, const unsigned int version); // NOLINT
79 };
80 } // namespace tesseract_environment
81 
83 #endif // TESSERACT_ENVIRONMENT_CHANGE_JOINT_ACCELERATION_LIMITS_COMMAND_H
tesseract_environment::ChangeJointAccelerationLimitsCommand::limits_
std::unordered_map< std::string, double > limits_
Definition: change_joint_acceleration_limits_command.h:73
tesseract_environment::ChangeJointAccelerationLimitsCommand::operator==
bool operator==(const ChangeJointAccelerationLimitsCommand &rhs) const
Definition: change_joint_acceleration_limits_command.cpp:63
tesseract_environment::ChangeJointAccelerationLimitsCommand::operator!=
bool operator!=(const ChangeJointAccelerationLimitsCommand &rhs) const
Definition: change_joint_acceleration_limits_command.cpp:70
tesseract_environment::Command::Ptr
std::shared_ptr< Command > Ptr
Definition: command.h:86
tesseract_environment::ChangeJointAccelerationLimitsCommand::access
friend class boost::serialization::access
Definition: change_joint_acceleration_limits_command.h:75
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
command.h
This contains classes for recording operations applied to the environment for tracking changes....
tesseract_environment::ChangeJointAccelerationLimitsCommand::getLimits
const std::unordered_map< std::string, double > & getLimits() const
Definition: change_joint_acceleration_limits_command.cpp:58
boost::serialization
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::ChangeJointAccelerationLimitsCommand
Definition: change_joint_acceleration_limits_command.h:46
tesseract_environment::Command::ConstPtr
std::shared_ptr< const Command > ConstPtr
Definition: command.h:87
tesseract_environment::ChangeJointAccelerationLimitsCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: change_joint_acceleration_limits_command.cpp:76
macros.h
tesseract_environment::ChangeJointAccelerationLimitsCommand::ChangeJointAccelerationLimitsCommand
ChangeJointAccelerationLimitsCommand()
Definition: change_joint_acceleration_limits_command.cpp:42


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