Go to the documentation of this file.00001
00002
00003 #ifndef __OROGEN_GENERATED_<%= typekit.name %>_USER_MARSHALLING_HH
00004 #define __OROGEN_GENERATED_<%= typekit.name %>_USER_MARSHALLING_HH
00005
00006 #include <<%= typekit.name %>/typekit/OpaqueFwd.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