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 
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 }
printstream cout
basic_ostreams & endl(basic_ostreams &s)
std::string getRTTPluginName()
virtual const std::string & getName() const
bool loadRTTPlugin(RTT::TaskContext *t)


ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27