00001
00002
00003 #include <<%= typekit.name %>/Types.hpp>
00004 #include <<%= typekit.name %>/type_info/BoostSerialization.hpp>
00005 #include <<%= type.info_type_header %>>
00006 <% if type.full_name == "/std/string" %>
00007 #include <rtt/typekit/StdStringTypeInfo.hpp>
00008 <% end %>
00009
00010
00011 namespace orogen_typekits {
00012 struct <%= type.method_name(true) %>TypeInfo :
00013 <% if type.full_name == "/std/string" %>
00014 public RTT::types::StdStringTypeInfo
00015 <% else %>
00016 public <%= type.info_type %>< <%= type.cxx_name %> >
00017 <% end %>
00018 {
00019 <%= type.method_name(true) %>TypeInfo()
00020 <% if type.full_name == "/std/string" %>
00021 : RTT::types::StdStringTypeInfo("<%= type.full_name %>") {}
00022 <% else %>
00023 : <%= type.info_type %>< <%= type.cxx_name %> >("<%= type.full_name %>") {}
00024 <% end %>
00025 };
00026
00027 RTT::types::TypeInfo* <%= type.method_name(true) %>_TypeInfo()
00028 { return new <%= type.method_name(true) %>TypeInfo(); }
00029 }
00030
00031 <%= Generation.render_template('typekit', 'TemplateInstanciation.cpp', binding) %>
00032