hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
hpp::manipulation::srdf::GripperFactory Class Reference

Build an object of type hpp::pinocchio::Gripper. More...

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

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

Public Member Functions

 GripperFactory (ObjectFactory *parent, const parser::XMLElement *element)
 
virtual void finishTags ()
 Called when all the child tags have been processed. More...
 
GripperPtr_t gripper () 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&) More...
 
template<typename T >
T * as ()
 Cast this class to any child class. More...
 
virtual bool init ()
 
void setAttribute (const XMLAttribute *attr)
 
virtual void addTextChild (const XMLText *text)
 Add Text child. More...
 
virtual bool finishAttributes ()
 
virtual void finishFile ()
 Called when parsing is finished. More...
 
std::string tagName () const
 
std::string name () const
 
bool hasAttribute (const std::string &attr) const
 Check if an attribute was set. More...
 
std::string getAttribute (const std::string &attr) const
 Return a given attributes. More...
 
ObjectFactoryList getChildrenOfType (std::string type)
 Get a list of ObjectFactory whose tag name is type. More...
 
bool getChildOfType (std::string type, ObjectFactory *&o)
 

Protected Attributes

GripperPtr_t gripper_
 
Transform3f localPosition_
 The element required to build the gripper. More...
 
std::string linkName_
 
std::list< std::string > collisionLinks_
 

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::pinocchio::Gripper.

Constructor & Destructor Documentation

◆ GripperFactory()

hpp::manipulation::srdf::GripperFactory::GripperFactory ( ObjectFactory parent,
const parser::XMLElement element 
)
inline

Member Function Documentation

◆ finishTags()

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

Called when all the child tags have been processed.

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

◆ gripper()

GripperPtr_t hpp::manipulation::srdf::GripperFactory::gripper ( ) const

Member Data Documentation

◆ collisionLinks_

std::list<std::string> hpp::manipulation::srdf::GripperFactory::collisionLinks_
protected

◆ gripper_

GripperPtr_t hpp::manipulation::srdf::GripperFactory::gripper_
protected

◆ linkName_

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

◆ localPosition_

Transform3f hpp::manipulation::srdf::GripperFactory::localPosition_
protected

The element required to build the gripper.


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