pkgname-plugin.cpp
Go to the documentation of this file.
00001 #include <rtt/RTT.hpp>
00002 #include <rtt/plugin/Plugin.hpp>
00003 #include <iostream>
00004 
00005 using namespace RTT;
00006 using namespace std;
00007 
00008 
00013 bool loadRTTPlugin( RTT::TaskContext* t )
00014 {
00015     if ( t == 0 )
00016         cout << "Plugin of @pkgname@ loaded in process."<< endl;
00017     else
00018         cout << "Plugin of @pkgname@ loaded in component: "<< t->getName() << endl;
00019     return true;
00020 }
00021 
00022 std::string getRTTPluginName()
00023 {
00024     return "@pkgname@-example-plugin";
00025 }


ocl
Author(s): OCL Development Team
autogenerated on Sun Nov 27 2016 03:45:31