hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
robot.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_ROBOT_HH
18 # define HPP_MANIPULATION_SRDF_FACTORIES_ROBOT_HH
19 
20 # include <hpp/manipulation/fwd.hh>
21 # include <hpp/fcl/math/transform.h>
22 # include <hpp/fcl/shape/geometric_shapes.h>
23 
25 
26 namespace hpp {
27  namespace manipulation {
28  namespace srdf {
31 
32  using parser::ObjectFactory;
33  using parser::XMLElement;
34  using parser::XMLElement;
35  using parser::XMLDocument;
37  using parser::XMLNode;
38  using parser::XMLText;
39 
42  class RobotFactory : public ObjectFactory {
43  public:
45  ObjectFactory (parent, element) {}
46 
49  bool finishAttributes ();
50  };
51 
53  } // namespace srdf
54  } // namespace manipulation
55 } // namespace hpp
56 
57 #endif // HPP_MANIPULATION_SRDF_FACTORIES_ROBOT_HH
TiXmlElement XMLElement
Definition: parser.hh:31
TiXmlAttribute XMLAttribute
Definition: parser.hh:33
TiXmlText XMLText
Definition: parser.hh:35
TiXmlNode XMLNode
Definition: parser.hh:34
RobotFactory(ObjectFactory *parent, const XMLElement *element)
Definition: robot.hh:44
TiXmlDocument XMLDocument
Definition: parser.hh:32
Class that catch XML Parser events for a specific tag and build the corresponding Object...
Definition: parser.hh:73