corbatoolkit.cpp
Go to the documentation of this file.
1 // Copyright (C) 2008 Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
2 
3 // Version: 1.0
4 // Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
5 // Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
6 // URL: http://www.orocos.org/kdl
7 
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 
23 #include <rtt/types/Types.hpp>
27 
28 using namespace RTT;
29 using namespace RTT::types;
30 using namespace RTT::corba;
31 
32 namespace KDL
33 {
34  namespace Corba
35  {
36 
37  bool CorbaKDLPlugin::registerTransport(std::string name, TypeInfo* ti)
38  {
39  if ( name == "KDL.Vector" )
41  if ( name == "KDL.Rotation" )
43  if ( name == "KDL.Frame" )
45  if ( name == "KDL.Wrench" )
47  if ( name == "KDL.Twist" )
49  if ( name == "KDL.Jacobian" )
51  if ( name == "KDL.JntArray" )
53  return false;
54  }
55 
56  std::string CorbaKDLPlugin::getTransportName() const {
57  return "CORBA";
58  }
59  std::string CorbaKDLPlugin::getTypekitName() const {
60  return "KDL";
61  }
62 
63  std::string CorbaKDLPlugin::getName() const {
64  return "kdl-corba-types";
65  }
66  }
67 }
68 
70 
#define ORO_TYPEKIT_PLUGIN(TYPEKIT)
bool addProtocol(int protocol_id, TypeTransporter *tt)
#define ORO_CORBA_PROTOCOL_ID


kdl_typekit
Author(s): Steven Bellens, Ruben Smits
autogenerated on Wed Jul 3 2019 19:39:45