Go to the documentation of this file.00001
00002
00003 <%= typekit.cxx_gen_includes(*typekit.include_for_type(type)) %>
00004 <%= typekit.cxx_gen_includes(*typekit.type_info_includes_for_type(type)) %>
00005 #include <rtt/internal/carray.hpp>
00006
00007 <% base_class =
00008 if !TypekitMarshallers::TypeInfo::Plugin.rtt_scripting?
00009 "RTT::types::PrimitiveTypeInfo< RTT::internal::carray< #{type.deference.cxx_name} > >"
00010 else
00011 "#{type.info_type}< RTT::internal::carray< #{type.deference.cxx_name} > >"
00012 end
00013 %>
00014
00015 namespace orogen_typekits {
00016 struct <%= type.deference.method_name(true) %>ArrayTypeInfo :
00017 public <%= base_class %>
00018 {
00019 <%= type.deference.method_name(true) %>ArrayTypeInfo()
00020 : <%= base_class %>("<%= type.deference.full_name %>[]") {}
00021 };
00022
00023 RTT::types::TypeInfoGenerator* <%= type.deference.method_name(true) %>_ArrayTypeInfo()
00024 { return new <%= type.deference.method_name(true) %>ArrayTypeInfo(); }
00025 }
00026
00027