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


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:57