Go to the documentation of this file.00001 #include "@pkgname@-component.hpp"
00002 #include <rtt/Component.hpp>
00003 #include <iostream>
00004
00005 @Pkgname@::@Pkgname@(std::string const& name) : TaskContext(name){
00006 std::cout << "@Pkgname@ constructed !" <<std::endl;
00007 }
00008
00009 bool @Pkgname@::configureHook(){
00010 std::cout << "@Pkgname@ configured !" <<std::endl;
00011 return true;
00012 }
00013
00014 bool @Pkgname@::startHook(){
00015 std::cout << "@Pkgname@ started !" <<std::endl;
00016 return true;
00017 }
00018
00019 void @Pkgname@::updateHook(){
00020 std::cout << "@Pkgname@ executes updateHook !" <<std::endl;
00021 }
00022
00023 void @Pkgname@::stopHook() {
00024 std::cout << "@Pkgname@ executes stopping !" <<std::endl;
00025 }
00026
00027 void @Pkgname@::cleanupHook() {
00028 std::cout << "@Pkgname@ cleaning up !" <<std::endl;
00029 }
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 ORO_CREATE_COMPONENT(@Pkgname@)