Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
set_active_continuous_contact_manager_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER_COMMAND_H
27#define TESSERACT_ENVIRONMENT_SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
33#include <string>
35
37
39{
41{
42public:
43 using Ptr = std::shared_ptr<SetActiveContinuousContactManagerCommand>;
44 using ConstPtr = std::shared_ptr<const SetActiveContinuousContactManagerCommand>;
45
47
52 SetActiveContinuousContactManagerCommand(std::string active_contact_manager)
54 , active_contact_manager_(std::move(active_contact_manager))
55 {
56 }
57
58 const std::string& getName() const { return active_contact_manager_; }
59
62
63private:
65
67 template <class Archive>
68 void serialize(Archive& ar, const unsigned int version); // NOLINT
69};
70} // namespace tesseract_environment
71
72#include <boost/serialization/export.hpp>
73#include <boost/serialization/tracking.hpp>
75 "SetActiveContinuousContactManagerCommand")
76#endif // TESSERACT_ENVIRONMENT_SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER_COMMAND_H
Definition: command.h:76
Definition: set_active_continuous_contact_manager_command.h:41
void serialize(Archive &ar, const unsigned int version)
Definition: set_active_continuous_contact_manager_command.cpp:52
std::shared_ptr< SetActiveContinuousContactManagerCommand > Ptr
Definition: set_active_continuous_contact_manager_command.h:43
std::shared_ptr< const SetActiveContinuousContactManagerCommand > ConstPtr
Definition: set_active_continuous_contact_manager_command.h:44
std::string active_contact_manager_
Definition: set_active_continuous_contact_manager_command.h:64
SetActiveContinuousContactManagerCommand()
Definition: set_active_continuous_contact_manager_command.h:46
bool operator==(const SetActiveContinuousContactManagerCommand &rhs) const
Definition: set_active_continuous_contact_manager_command.cpp:39
friend class boost::serialization::access
Definition: set_active_continuous_contact_manager_command.h:66
bool operator!=(const SetActiveContinuousContactManagerCommand &rhs) const
Definition: set_active_continuous_contact_manager_command.cpp:46
SetActiveContinuousContactManagerCommand(std::string active_contact_manager)
Set the active discrete contact manager.
Definition: set_active_continuous_contact_manager_command.h:52
const std::string & getName() const
Definition: set_active_continuous_contact_manager_command.h:58
This contains classes for recording operations applied to the environment for tracking changes....
Common Tesseract Macros.
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
Definition: macros.h:71
Definition: create_convex_hull.cpp:36
Definition: command.h:39
CommandType
Definition: command.h:41