Opaques.hpp
Go to the documentation of this file.
00001 /* Generated from orogen/lib/orogen/templates/typekit/Opaques.hpp */
00002 
00003 #ifndef __OROGEN_GENERATED_<%= typekit.name %>_USER_MARSHALLING_HH
00004 #define __OROGEN_GENERATED_<%= typekit.name %>_USER_MARSHALLING_HH
00005 
00006 #include <<%= typekit.name %>/Types.hpp>
00007 
00008 namespace orogen_typekits
00009 {
00010     <% type_sets.opaque_types.find_all { |op| op.generate_templates? }.each do |opaque_def|
00011         from = opaque_def.type
00012         into = typekit.find_type(opaque_def.intermediate)
00013         if opaque_def.needs_copy? %>
00015     void toIntermediate(<%= into.ref_type %> intermediate, <%= from.arg_type %> real_type);
00017     void fromIntermediate(<%= from.ref_type %> real_type, <%= into.arg_type %> intermediate);
00018         <% else %>
00020     <%= into.arg_type %> toIntermediate(<%= from.arg_type %> real_type);
00023     bool fromIntermediate(<%= from.ref_type %> real_type, <%= into.cxx_name %>* intermediate);
00027     void release(<%= from.ref_type %> real_type);
00028         <% end %>
00029     <% end %>
00030 }
00031 
00032 #endif
00033 


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Wed Sep 16 2015 10:36:40