$search
00001 /* Generated from orogen/lib/orogen/templates/typekit/Types.hpp */ 00002 00003 #ifndef __OROGEN_GENERATED_<%= typekit.name.upcase %>_TYPES_HPP 00004 #define __OROGEN_GENERATED_<%= typekit.name.upcase %>_TYPES_HPP 00005 00006 <%= typekit.opaques.map { |opaque_def| opaque_def.includes }. 00007 flatten.map { |p| "#include <#{p}>" }.join("\n") %> 00008 00009 <% typekit.external_loads.each do |file| %> 00010 #include <<%= file %>> 00011 <% end %> 00012 <% typekit.local_headers(false).each do |path, dest_path| %> 00013 #include "<%= typekit.name %>/types/<%= typekit.name %>/<%= dest_path %>" 00014 <% end %> 00015 <% typekit.used_typekits.each do |tk| %> 00016 <% next if tk.virtual? %> 00017 #include <<%= tk.name %>/Types.hpp> 00018 <% end %> 00019 00020 // This is a hack. We include it unconditionally as it may be required by some 00021 // typekits *and* it is a standard header. Ideally, we would actually check if 00022 // some of the types need std::vector. 00023 #include <vector> 00024 #include <boost/cstdint.hpp> 00025 00026 <%= typekit.m_types_code %> 00027 00028 <% interface_types.each do |type| %> 00029 #ifdef ORO_CHANNEL_ELEMENT_HPP 00030 extern template class RTT::base::ChannelElement< <%= type.cxx_name %> >; 00031 #endif 00032 #ifdef CORELIB_DATASOURCE_HPP 00033 extern template class RTT::internal::DataSource< <%= type.cxx_name %> >; 00034 extern template class RTT::internal::AssignableDataSource< <%= type.cxx_name %> >; 00035 #endif 00036 #ifdef ORO_CORELIB_DATASOURCES_HPP 00037 extern template class RTT::internal::ValueDataSource< <%= type.cxx_name %> >; 00038 extern template class RTT::internal::ConstantDataSource< <%= type.cxx_name %> >; 00039 extern template class RTT::internal::ReferenceDataSource< <%= type.cxx_name %> >; 00040 #endif 00041 #ifdef ORO_INPUT_PORT_HPP 00042 extern template class RTT::OutputPort< <%= type.cxx_name %> >; 00043 #endif 00044 #ifdef ORO_OUTPUT_PORT_HPP 00045 extern template class RTT::InputPort< <%= type.cxx_name %> >; 00046 #endif 00047 #ifdef ORO_PROPERTY_HPP 00048 extern template class RTT::Property< <%= type.cxx_name %> >; 00049 #endif 00050 #ifdef ORO_CORELIB_ATTRIBUTE_HPP 00051 extern template class RTT::Attribute< <%= type.cxx_name %> >; 00052 #endif 00053 <% end %> 00054 00055 #endif 00056