Go to the documentation of this file.
28 #ifndef TESSERACT_ENVIRONMENT_COMMAND_H
29 #define TESSERACT_ENVIRONMENT_COMMAND_H
35 #include <boost/serialization/export.hpp>
74 template <
class Archive>
75 void save(Archive& ar,
const CommandType& g,
const unsigned int version);
77 template <
class Archive>
80 template <
class Archive>
86 using Ptr = std::shared_ptr<Command>;
87 using ConstPtr = std::shared_ptr<const Command>;
106 template <
class Archive>
107 void serialize(Archive& ar,
const unsigned int version);
110 using Commands = std::vector<std::shared_ptr<const Command>>;
bool operator!=(const Command &rhs) const
std::shared_ptr< Command > Ptr
bool operator==(const Command &rhs) const
@ MODIFY_ALLOWED_COLLISIONS
@ CHANGE_JOINT_VELOCITY_LIMITS
@ CHANGE_JOINT_ACCELERATION_LIMITS
@ REMOVE_ALLOWED_COLLISION_LINK
@ CHANGE_COLLISION_MARGINS
Command & operator=(const Command &)=default
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
@ ADD_KINEMATICS_INFORMATION
virtual ~Command()=default
void serialize(Archive &ar, CommandType &g, const unsigned int version)
@ CHANGE_JOINT_POSITION_LIMITS
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int version)
@ SET_ACTIVE_CONTINUOUS_CONTACT_MANAGER
@ SET_ACTIVE_DISCRETE_CONTACT_MANAGER
@ CHANGE_LINK_COLLISION_ENABLED
std::shared_ptr< const Command > ConstPtr
void load(Archive &ar, CommandType &g, const unsigned int version)
Command(CommandType type=CommandType::UNINITIALIZED)
@ ADD_CONTACT_MANAGERS_PLUGIN_INFO
std::vector< std::shared_ptr< const Command > > Commands
void save(Archive &ar, const CommandType &g, const unsigned int version)
CommandType getType() const