Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
add_scene_graph_command.h
Go to the documentation of this file.
1
26#ifndef TESSERACT_ENVIRONMENT_ADD_SCENE_GRAPH_COMMAND_H
27#define TESSERACT_ENVIRONMENT_ADD_SCENE_GRAPH_COMMAND_H
28
31#include <boost/serialization/access.hpp>
32#include <memory>
34
37
39{
41{
42public:
43 using Ptr = std::shared_ptr<AddSceneGraphCommand>;
44 using ConstPtr = std::shared_ptr<const AddSceneGraphCommand>;
45
58
71 std::string prefix = "");
72
75 const std::string& getPrefix() const { return prefix_; }
76
77 bool operator==(const AddSceneGraphCommand& rhs) const;
78 bool operator!=(const AddSceneGraphCommand& rhs) const;
79
80private:
83 std::string prefix_;
84
86 template <class Archive>
87 void serialize(Archive& ar, const unsigned int version); // NOLINT
88};
89} // namespace tesseract_environment
90#include <boost/serialization/export.hpp>
91#include <boost/serialization/tracking.hpp>
92BOOST_CLASS_EXPORT_KEY2(tesseract_environment::AddSceneGraphCommand, "AddSceneGraphCommand")
93
94#endif // TESSERACT_ENVIRONMENT_ADD_SCENE_GRAPH_COMMAND_H
Definition: add_scene_graph_command.h:41
const std::string & getPrefix() const
Definition: add_scene_graph_command.h:75
std::shared_ptr< const AddSceneGraphCommand > ConstPtr
Definition: add_scene_graph_command.h:44
tesseract_scene_graph::Joint::ConstPtr joint_
Definition: add_scene_graph_command.h:82
std::string prefix_
Definition: add_scene_graph_command.h:83
bool operator==(const AddSceneGraphCommand &rhs) const
Definition: add_scene_graph_command.cpp:58
AddSceneGraphCommand()
Definition: add_scene_graph_command.h:46
tesseract_scene_graph::SceneGraph::ConstPtr scene_graph_
Definition: add_scene_graph_command.h:81
const tesseract_scene_graph::Joint::ConstPtr & getJoint() const
Definition: add_scene_graph_command.h:74
std::shared_ptr< AddSceneGraphCommand > Ptr
Definition: add_scene_graph_command.h:43
friend class boost::serialization::access
Definition: add_scene_graph_command.h:85
const tesseract_scene_graph::SceneGraph::ConstPtr & getSceneGraph() const
Definition: add_scene_graph_command.h:73
bool operator!=(const AddSceneGraphCommand &rhs) const
Definition: add_scene_graph_command.cpp:67
void serialize(Archive &ar, const unsigned int version)
Definition: add_scene_graph_command.cpp:70
Definition: command.h:76
Definition: joint.h:281
std::shared_ptr< const Joint > ConstPtr
Definition: joint.h:286
Definition: graph.h:125
std::shared_ptr< const SceneGraph > ConstPtr
Definition: graph.h:131
This contains classes for recording operations applied to the environment for tracking changes....
A basic scene graph using boost.
auto scene_graph
Definition: ikfast_kinematics_7dof_unit.cpp:51
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