00001 #include <tf/tfMessage.h> 00002 00003 #include <rtt/types/TypekitPlugin.hpp> 00004 #include <rtt/types/StructTypeInfo.hpp> 00005 00006 namespace ros_integration { 00007 using namespace RTT; 00008 00010 void rtt_ros_addType_tfMessage(); 00011 00012 00016 class ROStfTypekitPlugin 00017 : public types::TypekitPlugin 00018 { 00019 public: 00020 virtual std::string getName(){ 00021 return std::string("ros-")+"tf"; 00022 } 00023 00024 virtual bool loadTypes() { 00025 // call all factory functions 00026 rtt_ros_addType_tfMessage(); // factory function for adding TypeInfo. 00027 00028 return true; 00029 } 00030 virtual bool loadOperators() { return true; } 00031 virtual bool loadConstructors() { return true; } 00032 }; 00033 } 00034 00035 ORO_TYPEKIT_PLUGIN( ros_integration::ROStfTypekitPlugin ) 00036