set_active_continuous_contact_manager_command.cpp
Go to the documentation of this file.
1 
28 #include <boost/serialization/access.hpp>
29 #include <boost/serialization/nvp.hpp>
30 #include <string>
32 
33 #include <tesseract_common/utils.h>
35 
36 namespace tesseract_environment
37 {
40 {
41 }
42 
45  , active_contact_manager_(std::move(active_contact_manager))
46 {
47 }
48 
50 
52 {
53  bool equal = true;
54  equal &= Command::operator==(rhs);
56  return equal;
57 }
59 {
60  return !operator==(rhs);
61 }
62 
63 template <class Archive>
64 void SetActiveContinuousContactManagerCommand::serialize(Archive& ar, const unsigned int /*version*/)
65 {
66  ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(Command);
67  ar& BOOST_SERIALIZATION_NVP(active_contact_manager_);
68 }
69 } // namespace tesseract_environment
70 
tesseract_environment::Command::operator==
bool operator==(const Command &rhs) const
Definition: command.cpp:60
tesseract_environment::SetActiveContinuousContactManagerCommand::getName
const std::string & getName() const
Definition: set_active_continuous_contact_manager_command.cpp:49
tesseract_environment
Definition: command.h:45
tesseract_environment::SetActiveContinuousContactManagerCommand::operator!=
bool operator!=(const SetActiveContinuousContactManagerCommand &rhs) const
Definition: set_active_continuous_contact_manager_command.cpp:58
tesseract_environment::Command
Definition: command.h:83
utils.h
tesseract_environment::SetActiveContinuousContactManagerCommand
Definition: set_active_continuous_contact_manager_command.h:45
TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE
#define TESSERACT_SERIALIZE_ARCHIVES_INSTANTIATE(Type)
tesseract_environment::SetActiveContinuousContactManagerCommand::operator==
bool operator==(const SetActiveContinuousContactManagerCommand &rhs) const
Definition: set_active_continuous_contact_manager_command.cpp:51
set_active_continuous_contact_manager_command.h
Used to set the active continuous contact manager for the environment.
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
serialization.h
tesseract_environment::SetActiveContinuousContactManagerCommand::SetActiveContinuousContactManagerCommand
SetActiveContinuousContactManagerCommand()
Definition: set_active_continuous_contact_manager_command.cpp:38
tesseract_environment::CommandType::SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER
@ SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER
TESSERACT_COMMON_IGNORE_WARNINGS_POP
tesseract_environment::SetActiveContinuousContactManagerCommand::active_contact_manager_
std::string active_contact_manager_
Definition: set_active_continuous_contact_manager_command.h:65
tesseract_environment::SetActiveContinuousContactManagerCommand::serialize
void serialize(Archive &ar, const unsigned int version)
Definition: set_active_continuous_contact_manager_command.cpp:64
macros.h
tesseract_environment::CommandType
CommandType
Definition: command.h:47


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