Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scripts
pkg
templates
src
pkgname-plugin.cpp
Go to the documentation of this file.
1
#include <
rtt/RTT.hpp
>
2
#include <
rtt/plugin/Plugin.hpp
>
3
#include <iostream>
4
5
using namespace
RTT
;
6
using namespace
std
;
7
8
13
bool
loadRTTPlugin
(
RTT::TaskContext
* t )
14
{
15
if
( t == 0 )
16
cout
<<
"Plugin of @pkgname@ loaded in process."
<<
endl
;
17
else
18
cout
<<
"Plugin of @pkgname@ loaded in component: "
<< t->
getName
() << endl;
19
return
true
;
20
}
21
22
std::string
getRTTPluginName
()
23
{
24
return
"@pkgname@-example-plugin"
;
25
}
Plugin.hpp
std
cout
printstream cout
endl
basic_ostreams & endl(basic_ostreams &s)
RTT::TaskContext
RTT
getRTTPluginName
std::string getRTTPluginName()
Definition:
pkgname-plugin.cpp:22
RTT.hpp
RTT::TaskContext::getName
virtual const std::string & getName() const
loadRTTPlugin
bool loadRTTPlugin(RTT::TaskContext *t)
Definition:
pkgname-plugin.cpp:13
ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:19