Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
rtt
plugin
Plugin.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
Copyright (c) 2009 S Roderick <xxxkiwi DOT xxxnet AT macxxx DOT comxxx>
3
(remove the x's above)
4
5
***************************************************************************
6
* This library is free software; you can redistribute it and/or *
7
* modify it under the terms of the GNU General Public *
8
* License as published by the Free Software Foundation; *
9
* version 2 of the License. *
10
* *
11
* As a special exception, you may use this file as part of a free *
12
* software library without restriction. Specifically, if other files *
13
* instantiate templates or use macros or inline functions from this *
14
* file, or you compile this file and link it with other files to *
15
* produce an executable, this file does not by itself cause the *
16
* resulting executable to be covered by the GNU General Public *
17
* License. This exception does not however invalidate any other *
18
* reasons why the executable file might be covered by the GNU General *
19
* Public License. *
20
* *
21
* This library is distributed in the hope that it will be useful, *
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
24
* Lesser General Public License for more details. *
25
* *
26
* You should have received a copy of the GNU General Public *
27
* License along with this library; if not, write to the Free Software *
28
* Foundation, Inc., 59 Temple Place, *
29
* Suite 330, Boston, MA 02111-1307 USA *
30
* *
31
***************************************************************************/
32
33
#ifndef ORO_PLUGIN_HPP
34
#define ORO_PLUGIN_HPP 1
35
36
// Disable foo() has C-linkage specified, but returns UDT 'bar' which is incompatible with C
37
#ifdef _MSC_VER
38
#pragma warning (disable:4190)
39
#endif
40
41
#ifdef __clang__
42
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
43
#endif
44
56
#include <string>
57
#include "../rtt-config.h"
58
namespace
RTT
{
59
class
TaskContext;
60
}
61
extern
"C"
{
77
RTT_EXPORT
bool
loadRTTPlugin
(
RTT::TaskContext
* t );
78
83
RTT_EXPORT std::string
getRTTPluginName
();
84
92
RTT_EXPORT std::string
getRTTTargetName
();
93
}
94
95
#endif
getRTTPluginName
RTT_EXPORT std::string getRTTPluginName()
loadRTTPlugin
RTT_EXPORT bool loadRTTPlugin(RTT::TaskContext *t)
RTT::TaskContext
Definition:
TaskContext.hpp:93
getRTTTargetName
RTT_EXPORT std::string getRTTTargetName()
RTT
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition:
Activity.cpp:53
rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:34