DescriptorRos.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-flirtlib_features/doc_stacks/2013-11-28_11-19-05.212220/flirtlib_features/flirtlib_ros/msg/DescriptorRos.msg */
00002 #ifndef FLIRTLIB_ROS_MESSAGE_DESCRIPTORROS_H
00003 #define FLIRTLIB_ROS_MESSAGE_DESCRIPTORROS_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 #include "flirtlib_ros/Vector.h"
00018 #include "flirtlib_ros/Vector.h"
00019 #include "flirtlib_ros/Vector.h"
00020 #include "flirtlib_ros/Vector.h"
00021 
00022 namespace flirtlib_ros
00023 {
00024 template <class ContainerAllocator>
00025 struct DescriptorRos_ {
00026   typedef DescriptorRos_<ContainerAllocator> Type;
00027 
00028   DescriptorRos_()
00029   : hist()
00030   , variance()
00031   , hit()
00032   , miss()
00033   {
00034   }
00035 
00036   DescriptorRos_(const ContainerAllocator& _alloc)
00037   : hist(_alloc)
00038   , variance(_alloc)
00039   , hit(_alloc)
00040   , miss(_alloc)
00041   {
00042   }
00043 
00044   typedef std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  _hist_type;
00045   std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  hist;
00046 
00047   typedef std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  _variance_type;
00048   std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  variance;
00049 
00050   typedef std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  _hit_type;
00051   std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  hit;
00052 
00053   typedef std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  _miss_type;
00054   std::vector< ::flirtlib_ros::Vector_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::Vector_<ContainerAllocator> >::other >  miss;
00055 
00056 
00057   typedef boost::shared_ptr< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> > Ptr;
00058   typedef boost::shared_ptr< ::flirtlib_ros::DescriptorRos_<ContainerAllocator>  const> ConstPtr;
00059   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 }; // struct DescriptorRos
00061 typedef  ::flirtlib_ros::DescriptorRos_<std::allocator<void> > DescriptorRos;
00062 
00063 typedef boost::shared_ptr< ::flirtlib_ros::DescriptorRos> DescriptorRosPtr;
00064 typedef boost::shared_ptr< ::flirtlib_ros::DescriptorRos const> DescriptorRosConstPtr;
00065 
00066 
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const  ::flirtlib_ros::DescriptorRos_<ContainerAllocator> & v)
00069 {
00070   ros::message_operations::Printer< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> >::stream(s, "", v);
00071   return s;}
00072 
00073 } // namespace flirtlib_ros
00074 
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::DescriptorRos_<ContainerAllocator>  const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "82678fe48b3de78094c6ab0f717c7cb1";
00086   }
00087 
00088   static const char* value(const  ::flirtlib_ros::DescriptorRos_<ContainerAllocator> &) { return value(); } 
00089   static const uint64_t static_value1 = 0x82678fe48b3de780ULL;
00090   static const uint64_t static_value2 = 0x94c6ab0f717c7cb1ULL;
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct DataType< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "flirtlib_ros/DescriptorRos";
00098   }
00099 
00100   static const char* value(const  ::flirtlib_ros::DescriptorRos_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct Definition< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "# Confirms to the Descriptor type in flirtlib\n\
00108 # For now, we only allow the beta grid descriptor\n\
00109 \n\
00110 Vector[] hist\n\
00111 Vector[] variance\n\
00112 Vector[] hit\n\
00113 Vector[] miss\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: flirtlib_ros/Vector\n\
00117 # Vector message type used by a bunch of the flirtlib messages\n\
00118 \n\
00119 float64[] vec\n\
00120 ";
00121   }
00122 
00123   static const char* value(const  ::flirtlib_ros::DescriptorRos_<ContainerAllocator> &) { return value(); } 
00124 };
00125 
00126 } // namespace message_traits
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133 
00134 template<class ContainerAllocator> struct Serializer< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> >
00135 {
00136   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137   {
00138     stream.next(m.hist);
00139     stream.next(m.variance);
00140     stream.next(m.hit);
00141     stream.next(m.miss);
00142   }
00143 
00144   ROS_DECLARE_ALLINONE_SERIALIZER;
00145 }; // struct DescriptorRos_
00146 } // namespace serialization
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace message_operations
00152 {
00153 
00154 template<class ContainerAllocator>
00155 struct Printer< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> >
00156 {
00157   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::flirtlib_ros::DescriptorRos_<ContainerAllocator> & v) 
00158   {
00159     s << indent << "hist[]" << std::endl;
00160     for (size_t i = 0; i < v.hist.size(); ++i)
00161     {
00162       s << indent << "  hist[" << i << "]: ";
00163       s << std::endl;
00164       s << indent;
00165       Printer< ::flirtlib_ros::Vector_<ContainerAllocator> >::stream(s, indent + "    ", v.hist[i]);
00166     }
00167     s << indent << "variance[]" << std::endl;
00168     for (size_t i = 0; i < v.variance.size(); ++i)
00169     {
00170       s << indent << "  variance[" << i << "]: ";
00171       s << std::endl;
00172       s << indent;
00173       Printer< ::flirtlib_ros::Vector_<ContainerAllocator> >::stream(s, indent + "    ", v.variance[i]);
00174     }
00175     s << indent << "hit[]" << std::endl;
00176     for (size_t i = 0; i < v.hit.size(); ++i)
00177     {
00178       s << indent << "  hit[" << i << "]: ";
00179       s << std::endl;
00180       s << indent;
00181       Printer< ::flirtlib_ros::Vector_<ContainerAllocator> >::stream(s, indent + "    ", v.hit[i]);
00182     }
00183     s << indent << "miss[]" << std::endl;
00184     for (size_t i = 0; i < v.miss.size(); ++i)
00185     {
00186       s << indent << "  miss[" << i << "]: ";
00187       s << std::endl;
00188       s << indent;
00189       Printer< ::flirtlib_ros::Vector_<ContainerAllocator> >::stream(s, indent + "    ", v.miss[i]);
00190     }
00191   }
00192 };
00193 
00194 
00195 } // namespace message_operations
00196 } // namespace ros
00197 
00198 #endif // FLIRTLIB_ROS_MESSAGE_DESCRIPTORROS_H
00199 


flirtlib_ros
Author(s): Bhaskara Marthi
autogenerated on Thu Nov 28 2013 11:21:50