InterestPointRos.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/InterestPointRos.msg */
00002 #ifndef FLIRTLIB_ROS_MESSAGE_INTERESTPOINTROS_H
00003 #define FLIRTLIB_ROS_MESSAGE_INTERESTPOINTROS_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 "geometry_msgs/Pose2D.h"
00018 #include "geometry_msgs/Point.h"
00019 #include "flirtlib_ros/DescriptorRos.h"
00020 
00021 namespace flirtlib_ros
00022 {
00023 template <class ContainerAllocator>
00024 struct InterestPointRos_ {
00025   typedef InterestPointRos_<ContainerAllocator> Type;
00026 
00027   InterestPointRos_()
00028   : pose()
00029   , support_points()
00030   , scale(0.0)
00031   , scale_level(0)
00032   , descriptor()
00033   {
00034   }
00035 
00036   InterestPointRos_(const ContainerAllocator& _alloc)
00037   : pose(_alloc)
00038   , support_points(_alloc)
00039   , scale(0.0)
00040   , scale_level(0)
00041   , descriptor(_alloc)
00042   {
00043   }
00044 
00045   typedef  ::geometry_msgs::Pose2D_<ContainerAllocator>  _pose_type;
00046    ::geometry_msgs::Pose2D_<ContainerAllocator>  pose;
00047 
00048   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _support_points_type;
00049   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  support_points;
00050 
00051   typedef float _scale_type;
00052   float scale;
00053 
00054   typedef uint32_t _scale_level_type;
00055   uint32_t scale_level;
00056 
00057   typedef  ::flirtlib_ros::DescriptorRos_<ContainerAllocator>  _descriptor_type;
00058    ::flirtlib_ros::DescriptorRos_<ContainerAllocator>  descriptor;
00059 
00060 
00061   typedef boost::shared_ptr< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> > Ptr;
00062   typedef boost::shared_ptr< ::flirtlib_ros::InterestPointRos_<ContainerAllocator>  const> ConstPtr;
00063   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00064 }; // struct InterestPointRos
00065 typedef  ::flirtlib_ros::InterestPointRos_<std::allocator<void> > InterestPointRos;
00066 
00067 typedef boost::shared_ptr< ::flirtlib_ros::InterestPointRos> InterestPointRosPtr;
00068 typedef boost::shared_ptr< ::flirtlib_ros::InterestPointRos const> InterestPointRosConstPtr;
00069 
00070 
00071 template<typename ContainerAllocator>
00072 std::ostream& operator<<(std::ostream& s, const  ::flirtlib_ros::InterestPointRos_<ContainerAllocator> & v)
00073 {
00074   ros::message_operations::Printer< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> >::stream(s, "", v);
00075   return s;}
00076 
00077 } // namespace flirtlib_ros
00078 
00079 namespace ros
00080 {
00081 namespace message_traits
00082 {
00083 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> > : public TrueType {};
00084 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::InterestPointRos_<ContainerAllocator>  const> : public TrueType {};
00085 template<class ContainerAllocator>
00086 struct MD5Sum< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "1246631fd365f90bb16bd48937597987";
00090   }
00091 
00092   static const char* value(const  ::flirtlib_ros::InterestPointRos_<ContainerAllocator> &) { return value(); } 
00093   static const uint64_t static_value1 = 0x1246631fd365f90bULL;
00094   static const uint64_t static_value2 = 0xb16bd48937597987ULL;
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct DataType< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "flirtlib_ros/InterestPointRos";
00102   }
00103 
00104   static const char* value(const  ::flirtlib_ros::InterestPointRos_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 template<class ContainerAllocator>
00108 struct Definition< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "# Corresponds to the InterestPoint type in flirtlib\n\
00112 # Includes both the point location and optionally a descriptor\n\
00113 \n\
00114 geometry_msgs/Pose2D pose\n\
00115 \n\
00116 geometry_msgs/Point[] support_points\n\
00117 \n\
00118 float32 scale\n\
00119 \n\
00120 uint32 scale_level\n\
00121 \n\
00122 DescriptorRos descriptor\n\
00123 \n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: geometry_msgs/Pose2D\n\
00127 # This expresses a position and orientation on a 2D manifold.\n\
00128 \n\
00129 float64 x\n\
00130 float64 y\n\
00131 float64 theta\n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/Point\n\
00134 # This contains the position of a point in free space\n\
00135 float64 x\n\
00136 float64 y\n\
00137 float64 z\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: flirtlib_ros/DescriptorRos\n\
00141 # Confirms to the Descriptor type in flirtlib\n\
00142 # For now, we only allow the beta grid descriptor\n\
00143 \n\
00144 Vector[] hist\n\
00145 Vector[] variance\n\
00146 Vector[] hit\n\
00147 Vector[] miss\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: flirtlib_ros/Vector\n\
00151 # Vector message type used by a bunch of the flirtlib messages\n\
00152 \n\
00153 float64[] vec\n\
00154 ";
00155   }
00156 
00157   static const char* value(const  ::flirtlib_ros::InterestPointRos_<ContainerAllocator> &) { return value(); } 
00158 };
00159 
00160 } // namespace message_traits
00161 } // namespace ros
00162 
00163 namespace ros
00164 {
00165 namespace serialization
00166 {
00167 
00168 template<class ContainerAllocator> struct Serializer< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> >
00169 {
00170   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00171   {
00172     stream.next(m.pose);
00173     stream.next(m.support_points);
00174     stream.next(m.scale);
00175     stream.next(m.scale_level);
00176     stream.next(m.descriptor);
00177   }
00178 
00179   ROS_DECLARE_ALLINONE_SERIALIZER;
00180 }; // struct InterestPointRos_
00181 } // namespace serialization
00182 } // namespace ros
00183 
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188 
00189 template<class ContainerAllocator>
00190 struct Printer< ::flirtlib_ros::InterestPointRos_<ContainerAllocator> >
00191 {
00192   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::flirtlib_ros::InterestPointRos_<ContainerAllocator> & v) 
00193   {
00194     s << indent << "pose: ";
00195 s << std::endl;
00196     Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00197     s << indent << "support_points[]" << std::endl;
00198     for (size_t i = 0; i < v.support_points.size(); ++i)
00199     {
00200       s << indent << "  support_points[" << i << "]: ";
00201       s << std::endl;
00202       s << indent;
00203       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.support_points[i]);
00204     }
00205     s << indent << "scale: ";
00206     Printer<float>::stream(s, indent + "  ", v.scale);
00207     s << indent << "scale_level: ";
00208     Printer<uint32_t>::stream(s, indent + "  ", v.scale_level);
00209     s << indent << "descriptor: ";
00210 s << std::endl;
00211     Printer< ::flirtlib_ros::DescriptorRos_<ContainerAllocator> >::stream(s, indent + "  ", v.descriptor);
00212   }
00213 };
00214 
00215 
00216 } // namespace message_operations
00217 } // namespace ros
00218 
00219 #endif // FLIRTLIB_ROS_MESSAGE_INTERESTPOINTROS_H
00220 


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