iDynTree::SensorElement class

Base classes

class XMLElement
Class representing an XML element.

Public types

struct SensorInfo

Constructors, destructors, conversion operators

SensorElement(XMLParserState& parserState, std::vector<std::shared_ptr<SensorHelper>>& sensors) explicit

Public functions

auto childElementForName(const std::string& name) -> std::shared_ptr<XMLElement> override
Factory method to create child element given the name.
auto setAttributes(const std::unordered_map<std::string, std::shared_ptr<iDynTree::XMLAttribute>>& attributes) -> bool override

Function documentation

std::shared_ptr<XMLElement> iDynTree::SensorElement::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