Convertions.hpp
Go to the documentation of this file.
00001 /* Generated from orogen/lib/orogen/templates/typekit/corba/Convertions.hpp */
00002 
00003 #ifndef __OROGEN_GENERATED_<%= typekit.name.upcase %>_CORBA_CONVERTIONS_HPP
00004 #define __OROGEN_GENERATED_<%= typekit.name.upcase %>_CORBA_CONVERTIONS_HPP
00005 
00006 #include "../../Types.hpp"
00007 #include "<%= typekit.name %>/transports/corba/<%= typekit.name %>TypesC.h"
00008 #include <boost/cstdint.hpp>
00009 #include <string>
00010 
00011 namespace orogen_typekits {
00013     <% typesets.converted_types.each do |type|
00014         target_type = typekit.intermediate_type_for(type) %>
00015     bool toCORBA( <%= target_type.corba_ref_type %> corba, <%= type.arg_type %> value );
00016     bool fromCORBA( <%= type.ref_type %> value, <%= target_type.corba_arg_type %> corba );
00017     <% end %>
00019     <% typesets.array_types.each do |type|
00020         target_type = typekit.intermediate_type_for(type) %>
00021     bool toCORBA( <%= target_type.corba_ref_type %> corba, <%= type.arg_type %> value, int length );
00022     bool fromCORBA( <%= type.ref_type %> value, int length, <%= target_type.corba_arg_type %> corba );
00023     <% end %>
00024 }
00025 
00026 #endif
00027 


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