Go to the documentation of this file.
17 #ifndef SDF_INTERFACE_ELEMENTS_HH_
18 #define SDF_INTERFACE_ELEMENTS_HH_
23 #include <ignition/math/Pose3.hh>
29 #include "sdf/sdf_config.h"
34 inline namespace SDF_VERSION_NAMESPACE
39 #pragma warning(disable: 4251)
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
std::shared_ptr< InterfaceModel > InterfaceModelPtr
Definition: InterfaceModel.hh:49
namespace for Simulation Description Format parser
Definition: Actor.hh:33
std::string resolvedFileName
Provides the resolved absolute file path from the URI.
Definition: InterfaceElements.hh:54
std::optional< std::string > placementFrame
The placement frame as specified in //include/placement_frame.
Definition: InterfaceElements.hh:85
std::optional< std::string > includePoseRelativeTo
The relative-to frame of the pose as specified in //include/pose/@relative_to.
Definition: InterfaceElements.hh:81
std::string absoluteParentName
Name of the parent entity in absolute hierarchy.
Definition: InterfaceElements.hh:61
Contains the necessary information about an included model file for custom model parsers to be able t...
Definition: InterfaceElements.hh:43
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
std::optional< bool > isStatic
Whether the model is static as defined by //include/static.
Definition: InterfaceElements.hh:72
std::optional< ignition::math::Pose3d > includeRawPose
The raw pose as specified in //include/pose.
Definition: InterfaceElements.hh:76
sdf::ElementPtr includeElement
This is the //include element.
Definition: InterfaceElements.hh:89
std::function< sdf::InterfaceModelPtr(const sdf::NestedInclude &, Errors &)> CustomModelParser
Defines a custom model parser.
Definition: InterfaceElements.hh:129
std::optional< std::string > localModelName
Name relative to immediate parent as specified in //include/name.
Definition: InterfaceElements.hh:68
std::string uri
Provides the URI as specified in //include/uri.
Definition: InterfaceElements.hh:48
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106