hpp-manipulation-urdf 7.0.0
Implementation of a parser for hpp-manipulation.
Loading...
Searching...
No Matches
hpp::manipulation::srdf::HandleFactory Class Reference

Build an object of type hpp::manipulation::Handle. More...

#include <hpp/manipulation/srdf/factories/handle.hh>

Inheritance diagram for hpp::manipulation::srdf::HandleFactory:
Collaboration diagram for hpp::manipulation::srdf::HandleFactory:

Public Member Functions

 HandleFactory (ObjectFactory *parent, const XMLElement *element)
virtual void finishTags ()
 Called when all the child tags have been processed.
HandlePtr_t handle () 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 void addTextChild (const XMLText *text)
 Add Text child.
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)

Protected Attributes

HandlePtr_t handle_
Transform3s localPosition_
 The element required to build the handle.
std::string linkName_

Additional Inherited Members

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)
ObjectFactoryparent ()
RootFactoryroot ()
bool hasParent () const
const XMLElementXMLelement ()
virtual void impl_setAttribute (const XMLAttribute *attr)
void addChild (ObjectFactory *child)
virtual std::ostream & print (std::ostream &os) const

Detailed Description

Build an object of type hpp::manipulation::Handle.

Constructor & Destructor Documentation

◆ HandleFactory()

hpp::manipulation::srdf::HandleFactory::HandleFactory(ObjectFactory *parent,
const XMLElement *element )
inline

Member Function Documentation

◆ finishTags()

virtual void hpp::manipulation::srdf::HandleFactory::finishTags()
virtual

Called when all the child tags have been processed.

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

◆ handle()

HandlePtr_t hpp::manipulation::srdf::HandleFactory::handle()const

Member Data Documentation

◆ handle_

HandlePtr_t hpp::manipulation::srdf::HandleFactory::handle_
protected

◆ linkName_

std::string hpp::manipulation::srdf::HandleFactory::linkName_
protected

◆ localPosition_

Transform3s hpp::manipulation::srdf::HandleFactory::localPosition_
protected

The element required to build the handle.


The documentation for this class was generated from the following file:
  • include/hpp/manipulation/srdf/factories/handle.hh