00001 /* 00002 * (C) 2010 Ruben Smits, ruben.smits@mech.kuleuven.be, Department of Mechanical 00003 Engineering, Katholieke Universiteit Leuven, Belgium. 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00018 00019 Alternatively, the contents of this file may be used under the terms of 00020 either of the New BSD License 00021 */ 00022 #ifndef EIGEN_TYPEKIT_HPP 00023 #define EIGEN_TYPEKIT_HPP 00024 00025 #include <rtt/types/TypekitPlugin.hpp> 00026 #include <Eigen/Core> 00027 00028 // import most common Eigen types 00029 namespace Eigen { 00030 00031 class EigenTypekitPlugin: public RTT::types::TypekitPlugin { 00032 public: 00033 virtual std::string getName(); 00034 00035 virtual bool loadTypes(); 00036 virtual bool loadConstructors(); 00037 virtual bool loadOperators(); 00038 }; 00039 } 00040 #ifdef CORELIB_DATASOURCE_HPP 00041 extern template class RTT::internal::DataSourceTypeInfo< Eigen::VectorXd >; 00042 extern template class RTT::internal::DataSource< Eigen::VectorXd >; 00043 extern template class RTT::internal::AssignableDataSource< Eigen::VectorXd >; 00044 extern template class RTT::internal::AssignCommand< Eigen::VectorXd >; 00045 #endif 00046 #ifdef ORO_CORELIB_DATASOURCES_HPP 00047 extern template class RTT::internal::ValueDataSource< Eigen::VectorXd >; 00048 extern template class RTT::internal::ConstantDataSource< Eigen::VectorXd >; 00049 extern template class RTT::internal::ReferenceDataSource< Eigen::VectorXd >; 00050 #endif 00051 #ifdef ORO_OUTPUT_PORT_HPP 00052 extern template class RTT::OutputPort< Eigen::VectorXd >; 00053 #endif 00054 #ifdef ORO_INPUT_PORT_HPP 00055 extern template class RTT::InputPort< Eigen::VectorXd >; 00056 #endif 00057 #ifdef ORO_PROPERTY_HPP 00058 extern template class RTT::Property< Eigen::VectorXd >; 00059 #endif 00060 #ifdef ORO_CORELIB_ATTRIBUTE_HPP 00061 extern template class RTT::Attribute< Eigen::VectorXd >; 00062 extern template class RTT::Constant< Eigen::VectorXd >; 00063 #endif 00064 00065 #ifdef CORELIB_DATASOURCE_HPP 00066 extern template class RTT::internal::DataSourceTypeInfo< Eigen::MatrixXd >; 00067 extern template class RTT::internal::DataSource< Eigen::MatrixXd >; 00068 extern template class RTT::internal::AssignableDataSource< Eigen::MatrixXd >; 00069 extern template class RTT::internal::AssignCommand< Eigen::MatrixXd >; 00070 #endif 00071 #ifdef ORO_CORELIB_DATASOURCES_HPP 00072 extern template class RTT::internal::ValueDataSource< Eigen::MatrixXd >; 00073 extern template class RTT::internal::ConstantDataSource< Eigen::MatrixXd >; 00074 extern template class RTT::internal::ReferenceDataSource< Eigen::MatrixXd >; 00075 #endif 00076 #ifdef ORO_OUTPUT_PORT_HPP 00077 extern template class RTT::OutputPort< Eigen::MatrixXd >; 00078 #endif 00079 #ifdef ORO_INPUT_PORT_HPP 00080 extern template class RTT::InputPort< Eigen::MatrixXd >; 00081 #endif 00082 #ifdef ORO_PROPERTY_HPP 00083 extern template class RTT::Property< Eigen::MatrixXd >; 00084 #endif 00085 #ifdef ORO_CORELIB_ATTRIBUTE_HPP 00086 extern template class RTT::Attribute< Eigen::MatrixXd >; 00087 extern template class RTT::Constant< Eigen::MatrixXd >; 00088 #endif 00089 00090 #endif // ifndef EIGEN_TYPEKIT_HPP 00091