Plugin.hpp
Go to the documentation of this file.
00001 /***************************************************************************
00002  Copyright (c) 2009 S Roderick <xxxkiwi DOT xxxnet AT macxxx DOT comxxx>
00003                                (remove the x's above)
00004 
00005  ***************************************************************************
00006  *   This library is free software; you can redistribute it and/or         *
00007  *   modify it under the terms of the GNU General Public                   *
00008  *   License as published by the Free Software Foundation;                 *
00009  *   version 2 of the License.                                             *
00010  *                                                                         *
00011  *   As a special exception, you may use this file as part of a free       *
00012  *   software library without restriction.  Specifically, if other files   *
00013  *   instantiate templates or use macros or inline functions from this     *
00014  *   file, or you compile this file and link it with other files to        *
00015  *   produce an executable, this file does not by itself cause the         *
00016  *   resulting executable to be covered by the GNU General Public          *
00017  *   License.  This exception does not however invalidate any other        *
00018  *   reasons why the executable file might be covered by the GNU General   *
00019  *   Public License.                                                       *
00020  *                                                                         *
00021  *   This library is distributed in the hope that it will be useful,       *
00022  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00023  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00024  *   Lesser General Public License for more details.                       *
00025  *                                                                         *
00026  *   You should have received a copy of the GNU General Public             *
00027  *   License along with this library; if not, write to the Free Software   *
00028  *   Foundation, Inc., 59 Temple Place,                                    *
00029  *   Suite 330, Boston, MA  02111-1307  USA                                *
00030  *                                                                         *
00031  ***************************************************************************/
00032 
00033 #ifndef ORO_PLUGIN_HPP
00034 #define ORO_PLUGIN_HPP 1
00035 
00036 // Disable foo() has C-linkage specified, but returns UDT 'bar' which is incompatible with C
00037 #ifdef _MSC_VER
00038 #pragma warning (disable:4190)
00039 #endif
00040 
00052 #include <string>
00053 #include "../rtt-config.h"
00054 namespace RTT {
00055     class TaskContext;
00056 }
00057 extern "C" {
00073     RTT_EXPORT bool loadRTTPlugin( RTT::TaskContext* t );
00074 
00079     RTT_EXPORT std::string getRTTPluginName();
00080 
00088     RTT_EXPORT std::string getRTTTargetName();
00089 }
00090 
00091 #endif


rtt
Author(s): RTT Developers
autogenerated on Fri Sep 9 2016 04:01:55