00001 /* Generated from orogen/lib/orogen/templates/typekit/typelib/TransportPlugin.hpp */ 00002 00003 #ifndef __OROGEN_GENERATED_<%= typekit.name.upcase %>_TYPELIB_PLUGIN_HPP 00004 #define __OROGEN_GENERATED_<%= typekit.name.upcase %>_TYPELIB_PLUGIN_HPP 00005 00006 #include <rtt/types/TransportPlugin.hpp> 00007 00008 namespace Typelib 00009 { 00010 // Forward declaration for the plugin 00011 class Registry; 00012 } 00013 00014 namespace orogen_typekits { 00015 class <%= typekit.name %>TypelibTransportPlugin 00016 : public RTT::types::TransportPlugin 00017 { 00018 Typelib::Registry* m_registry; 00019 00020 public: 00021 <%= typekit.name %>TypelibTransportPlugin(); 00022 ~<%= typekit.name %>TypelibTransportPlugin(); 00023 virtual bool registerTransport(std::string type_name, RTT::types::TypeInfo* ti); 00024 virtual std::string getTransportName() const; 00025 virtual std::string getTypekitName() const; 00026 virtual std::string getName() const; 00027 00028 static std::string getTlbPath(); 00029 }; 00030 00031 extern <%= typekit.name %>TypelibTransportPlugin <%= typekit.name %>TypelibTransport; 00032 } 00033 00034 #endif 00035