class
#include <private/RobotElement.h>
RobotElement
Base classes
- class XMLElement
- Class representing an XML element.
Constructors, destructors, conversion operators
-
RobotElement(XMLParserState& parserState,
iDynTree::
Model & model, std::vector<std::shared_ptr<SensorHelper>>& sensorHelpers, std::unordered_map<std::string, JointElement::JointInfo >& joints, std::unordered_map<std::string, JointElement::JointInfo >& fixedJoints, std::unordered_map<std::string, MaterialElement::MaterialInfo >& materials, std::unordered_map<std::string, std::vector<VisualElement::VisualInfo >>& visuals, std::unordered_map<std::string, std::vector<VisualElement::VisualInfo >>& collisions) explicit - ~RobotElement() virtual
Public functions
-
auto childElementForName(const std::string& name) -> std::shared_ptr<iDynTree::
XMLElement > override - Factory method to create child element given the name.
-
void childHasBeenParsed(std::shared_ptr<iDynTree::
XMLElement >) override
Function documentation
std::shared_ptr<iDynTree::XMLElement > iDynTree::RobotElement:: childElementForName(const std::string& name) override
Factory method to create child element given the name.
Parameters | |
---|---|
name | name of the element to create |
Returns | a new parser element for the corresponding tag |