hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
gripper.hh
Go to the documentation of this file.
1 // Copyright (c) 2014, LAAS-CNRS
2 // Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
3 //
4 // This file is part of hpp-manipulation-urdf.
5 // hpp-manipulation-urdf is free software: you can redistribute it
6 // and/or modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation, either version
8 // 3 of the License, or (at your option) any later version.
9 //
10 // hpp-manipulation-urdf is distributed in the hope that it will be
11 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // General Lesser Public License for more details. You should have
14 // received a copy of the GNU Lesser General Public License along with
15 // hpp-manipulation-urdf. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef HPP_MANIPULATION_SRDF_FACTORIES_GRIPPER_HH
18 # define HPP_MANIPULATION_SRDF_FACTORIES_GRIPPER_HH
19 
20 # include <pinocchio/spatial/se3.hpp>
21 
22 # include <hpp/manipulation/fwd.hh>
23 
25 
26 namespace hpp {
27  namespace manipulation {
28  namespace srdf {
31 
34  public:
36  ObjectFactory (parent, element) {}
37 
38  virtual void finishTags ();
39 
40  GripperPtr_t gripper () const;
41 
42  protected:
44 
47  std::string linkName_;
48  std::list <std::string> collisionLinks_;
49  };
50 
52  } // namespace srdf
53  } // namespace manipulation
54 } // namespace hpp
55 
56 #endif // HPP_MANIPULATION_SRDF_FACTORIES_GRIPPER_HH
TiXmlElement XMLElement
Definition: parser.hh:31
GripperFactory(ObjectFactory *parent, const parser::XMLElement *element)
Definition: gripper.hh:35
Build an object of type hpp::pinocchio::Gripper.
Definition: gripper.hh:33
std::string linkName_
Definition: gripper.hh:47
boost::shared_ptr< Gripper > GripperPtr_t
std::list< std::string > collisionLinks_
Definition: gripper.hh:48
pinocchio::Transform3f Transform3f
virtual void finishTags()
Called when all the child tags have been processed.
GripperPtr_t gripper_
Definition: gripper.hh:43
Class that catch XML Parser events for a specific tag and build the corresponding Object...
Definition: parser.hh:73
Transform3f localPosition_
The element required to build the gripper.
Definition: gripper.hh:46