hpp-manipulation-urdf: hpp::manipulation::srdf::PositionFactory Class Reference

hpp-manipulation-urdf 9.0.2 Implementation of a parser for hpp-manipulation.

Loading...
Searching...
No Matches
Public Member Functions | List of all members
hpp::manipulation::srdf::PositionFactory Class Reference
Factories

Build a coal::Transform. More...

`#include <hpp/manipulation/srdf/factories/position.hh>`

Inheritance diagram for hpp::manipulation::srdf::PositionFactory:
[legend]
Collaboration diagram for hpp::manipulation::srdf::PositionFactory:
[legend]

## Public Member Functions
| PositionFactory (ObjectFactory *parent, const parser::XMLElement *element)
virtual void | finishTags ()
| Called when all the child tags have been processed.
const Transform3s & | position () const
Public Member Functions inherited from hpp::manipulation::parser::SequenceFactory< float >
| SequenceFactory (ObjectFactory *parent, const XMLElement *element, const int nbValue=-1)
virtual void | addTextChild (const XMLText *text)
| Add Text child.
const OutType & | values () const
Public Member Functions inherited from hpp::manipulation::parser::ObjectFactory
| ObjectFactory (ObjectFactory *parent=NULL, const XMLElement *element=NULL)
virtual | ~ObjectFactory ()
void | name (const std::string &n)
void | name (const char *n)
| See name(const std::string&)
template<typename T >
T * | as ()
| Cast this class to any child class.
virtual bool | init ()
void | setAttribute (const XMLAttribute *attr)
virtual bool | finishAttributes ()
virtual void | finishFile ()
| Called when parsing is finished.
std::string | tagName () const
std::string | name () const
bool | hasAttribute (const std::string &attr) const
| Check if an attribute was set.
std::string | getAttribute (const std::string &attr) const
| Return a given attributes.
ObjectFactoryList | getChildrenOfType (std::string type)
| Get a list of ObjectFactory whose tag name is type.
bool | getChildOfType (std::string type, ObjectFactory *&o)

## Additional Inherited Members
Public Types inherited from hpp::manipulation::parser::SequenceFactory< float >
typedef std::vector< float > | OutType
Public Types inherited from hpp::manipulation::parser::ObjectFactory
typedef std::vector< ObjectFactory * > | ObjectFactoryList
Protected Member Functions inherited from hpp::manipulation::parser::ObjectFactory
| ObjectFactory (RootFactory *root)
ObjectFactory * | parent ()
RootFactory * | root ()
bool | hasParent () const
const XMLElement * | XMLelement ()
virtual void | impl_setAttribute (const XMLAttribute *attr)
void | addChild (ObjectFactory *child)
virtual std::ostream & | print (std::ostream &os) const

## Detailed Description

Build a coal::Transform.

The sequence of number in the XML text must:

- be of length 7;
- begin with the translation (3 coordinates);
- end with a quaternion (4 coordinates).

## Constructor & Destructor Documentation

## ◆ PositionFactory()

hpp::manipulation::srdf::PositionFactory::PositionFactory | ( | ObjectFactory * | parent,
|  | const parser::XMLElement * | element )
| inline

## Member Function Documentation

## ◆ finishTags()

virtual void hpp::manipulation::srdf::PositionFactory::finishTags | ( |  | ) |
| virtual

Called when all the child tags have been processed.

Reimplemented from hpp::manipulation::parser::ObjectFactory.

## ◆ position()

const Transform3s & hpp::manipulation::srdf::PositionFactory::position | ( |  | ) | const
| inline

The documentation for this class was generated from the following file:

- include/hpp/manipulation/srdf/factories/position.hh