inertial.h
Go to the documentation of this file.
1 
26 #ifndef TESSERACT_URDF_INERTIAL_H
27 #define TESSERACT_URDF_INERTIAL_H
28 
31 #include <memory>
32 #include <string_view>
34 
36 
37 namespace tinyxml2
38 {
39 class XMLElement; // NOLINT
40 class XMLDocument;
41 } // namespace tinyxml2
42 
43 namespace tesseract_urdf
44 {
45 static constexpr std::string_view INERTIAL_ELEMENT_NAME = "inertial";
46 
53 std::shared_ptr<tesseract_scene_graph::Inertial> parseInertial(const tinyxml2::XMLElement* xml_element);
54 
55 tinyxml2::XMLElement* writeInertial(const std::shared_ptr<const tesseract_scene_graph::Inertial>& inertial,
56  tinyxml2::XMLDocument& doc);
57 
58 } // namespace tesseract_urdf
59 
60 #endif // TESSERACT_URDF_INERTIAL_H
tesseract_urdf::INERTIAL_ELEMENT_NAME
static constexpr std::string_view INERTIAL_ELEMENT_NAME
Definition: inertial.h:45
tesseract_urdf::writeInertial
tinyxml2::XMLElement * writeInertial(const std::shared_ptr< const tesseract_scene_graph::Inertial > &inertial, tinyxml2::XMLDocument &doc)
Definition: inertial.cpp:89
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
TESSERACT_COMMON_IGNORE_WARNINGS_POP
fwd.h
tesseract_urdf::parseInertial
std::shared_ptr< tesseract_scene_graph::Inertial > parseInertial(const tinyxml2::XMLElement *xml_element)
Parse xml element inertial.
Definition: inertial.cpp:41
tinyxml2
macros.h
tesseract_urdf
Definition: box.h:43


tesseract_urdf
Author(s): Levi Armstrong
autogenerated on Thu Apr 24 2025 03:10:44