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 Eigen
33 {
34  namespace corba
35  {
36 
37  bool CorbaEigenPlugin::registerTransport(std::string name, TypeInfo* ti)
38  {
39  if ( name == "eigen_vector" )
41  if ( name == "eigen_matrix" )
43  return false;
44  }
45 
46  std::string CorbaEigenPlugin::getTransportName() const {
47  return "CORBA";
48  }
49  std::string CorbaEigenPlugin::getTypekitName() const {
50  return "Eigen";
51  }
52 
53  std::string CorbaEigenPlugin::getName() const {
54  return "eigen-corba-types";
55  }
56  }
57 }
58 
60 
#define ORO_TYPEKIT_PLUGIN(TYPEKIT)
bool addProtocol(int protocol_id, TypeTransporter *tt)
#define ORO_CORBA_PROTOCOL_ID


eigen_typekit
Author(s): Ruben Smits
autogenerated on Wed Jul 3 2019 19:39:42