ObjectPose.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pal-ros-pkg/doc_stacks/2014-01-02_11-32-52.783809/perception_blort/blort_ros/msg/ObjectPose.msg */
00002 #ifndef BLORT_ROS_MESSAGE_OBJECTPOSE_H
00003 #define BLORT_ROS_MESSAGE_OBJECTPOSE_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/Pose.h"
00018 #include "geometry_msgs/Point32.h"
00019 #include "blort_ros/NameTypeValue.h"
00020 #include "geometry_msgs/Pose.h"
00021 
00022 namespace blort_ros
00023 {
00024 template <class ContainerAllocator>
00025 struct ObjectPose_ {
00026   typedef ObjectPose_<ContainerAllocator> Type;
00027 
00028   ObjectPose_()
00029   : name()
00030   , pose()
00031   , pose2D()
00032   , convex_hull_x()
00033   , convex_hull_y()
00034   , mean_quality(0.0)
00035   , used_points(0)
00036   , properties()
00037   , pose_uncertainty_list()
00038   {
00039   }
00040 
00041   ObjectPose_(const ContainerAllocator& _alloc)
00042   : name(_alloc)
00043   , pose(_alloc)
00044   , pose2D(_alloc)
00045   , convex_hull_x(_alloc)
00046   , convex_hull_y(_alloc)
00047   , mean_quality(0.0)
00048   , used_points(0)
00049   , properties(_alloc)
00050   , pose_uncertainty_list(_alloc)
00051   {
00052   }
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00056 
00057   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00058    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00059 
00060   typedef  ::geometry_msgs::Point32_<ContainerAllocator>  _pose2D_type;
00061    ::geometry_msgs::Point32_<ContainerAllocator>  pose2D;
00062 
00063   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _convex_hull_x_type;
00064   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  convex_hull_x;
00065 
00066   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _convex_hull_y_type;
00067   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  convex_hull_y;
00068 
00069   typedef float _mean_quality_type;
00070   float mean_quality;
00071 
00072   typedef int16_t _used_points_type;
00073   int16_t used_points;
00074 
00075   typedef std::vector< ::blort_ros::NameTypeValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::blort_ros::NameTypeValue_<ContainerAllocator> >::other >  _properties_type;
00076   std::vector< ::blort_ros::NameTypeValue_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::blort_ros::NameTypeValue_<ContainerAllocator> >::other >  properties;
00077 
00078   typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  _pose_uncertainty_list_type;
00079   std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other >  pose_uncertainty_list;
00080 
00081 
00082   typedef boost::shared_ptr< ::blort_ros::ObjectPose_<ContainerAllocator> > Ptr;
00083   typedef boost::shared_ptr< ::blort_ros::ObjectPose_<ContainerAllocator>  const> ConstPtr;
00084   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00085 }; // struct ObjectPose
00086 typedef  ::blort_ros::ObjectPose_<std::allocator<void> > ObjectPose;
00087 
00088 typedef boost::shared_ptr< ::blort_ros::ObjectPose> ObjectPosePtr;
00089 typedef boost::shared_ptr< ::blort_ros::ObjectPose const> ObjectPoseConstPtr;
00090 
00091 
00092 template<typename ContainerAllocator>
00093 std::ostream& operator<<(std::ostream& s, const  ::blort_ros::ObjectPose_<ContainerAllocator> & v)
00094 {
00095   ros::message_operations::Printer< ::blort_ros::ObjectPose_<ContainerAllocator> >::stream(s, "", v);
00096   return s;}
00097 
00098 } // namespace blort_ros
00099 
00100 namespace ros
00101 {
00102 namespace message_traits
00103 {
00104 template<class ContainerAllocator> struct IsMessage< ::blort_ros::ObjectPose_<ContainerAllocator> > : public TrueType {};
00105 template<class ContainerAllocator> struct IsMessage< ::blort_ros::ObjectPose_<ContainerAllocator>  const> : public TrueType {};
00106 template<class ContainerAllocator>
00107 struct MD5Sum< ::blort_ros::ObjectPose_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "a1a9ddd9cdd7cb9b07994b75cc08bdcc";
00111   }
00112 
00113   static const char* value(const  ::blort_ros::ObjectPose_<ContainerAllocator> &) { return value(); } 
00114   static const uint64_t static_value1 = 0xa1a9ddd9cdd7cb9bULL;
00115   static const uint64_t static_value2 = 0x07994b75cc08bdccULL;
00116 };
00117 
00118 template<class ContainerAllocator>
00119 struct DataType< ::blort_ros::ObjectPose_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "blort_ros/ObjectPose";
00123   }
00124 
00125   static const char* value(const  ::blort_ros::ObjectPose_<ContainerAllocator> &) { return value(); } 
00126 };
00127 
00128 template<class ContainerAllocator>
00129 struct Definition< ::blort_ros::ObjectPose_<ContainerAllocator> > {
00130   static const char* value() 
00131   {
00132     return "string name\n\
00133 \n\
00134 geometry_msgs/Pose pose\n\
00135 geometry_msgs/Point32 pose2D\n\
00136 \n\
00137 int16[] convex_hull_x\n\
00138 int16[] convex_hull_y\n\
00139 \n\
00140 float32 mean_quality\n\
00141 int16 used_points\n\
00142 \n\
00143 NameTypeValue[] properties\n\
00144 \n\
00145 geometry_msgs/Pose[] pose_uncertainty_list\n\
00146 \n\
00147 ================================================================================\n\
00148 MSG: geometry_msgs/Pose\n\
00149 # A representation of pose in free space, composed of postion and orientation. \n\
00150 Point position\n\
00151 Quaternion orientation\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: geometry_msgs/Point\n\
00155 # This contains the position of a point in free space\n\
00156 float64 x\n\
00157 float64 y\n\
00158 float64 z\n\
00159 \n\
00160 ================================================================================\n\
00161 MSG: geometry_msgs/Quaternion\n\
00162 # This represents an orientation in free space in quaternion form.\n\
00163 \n\
00164 float64 x\n\
00165 float64 y\n\
00166 float64 z\n\
00167 float64 w\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: geometry_msgs/Point32\n\
00171 # This contains the position of a point in free space(with 32 bits of precision).\n\
00172 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00173 # \n\
00174 # This recommendation is to promote interoperability.  \n\
00175 #\n\
00176 # This message is designed to take up less space when sending\n\
00177 # lots of points at once, as in the case of a PointCloud.  \n\
00178 \n\
00179 float32 x\n\
00180 float32 y\n\
00181 float32 z\n\
00182 ================================================================================\n\
00183 MSG: blort_ros/NameTypeValue\n\
00184 string name\n\
00185 string type\n\
00186 string value\n\
00187 \n\
00188 ";
00189   }
00190 
00191   static const char* value(const  ::blort_ros::ObjectPose_<ContainerAllocator> &) { return value(); } 
00192 };
00193 
00194 } // namespace message_traits
00195 } // namespace ros
00196 
00197 namespace ros
00198 {
00199 namespace serialization
00200 {
00201 
00202 template<class ContainerAllocator> struct Serializer< ::blort_ros::ObjectPose_<ContainerAllocator> >
00203 {
00204   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00205   {
00206     stream.next(m.name);
00207     stream.next(m.pose);
00208     stream.next(m.pose2D);
00209     stream.next(m.convex_hull_x);
00210     stream.next(m.convex_hull_y);
00211     stream.next(m.mean_quality);
00212     stream.next(m.used_points);
00213     stream.next(m.properties);
00214     stream.next(m.pose_uncertainty_list);
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct ObjectPose_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 namespace ros
00223 {
00224 namespace message_operations
00225 {
00226 
00227 template<class ContainerAllocator>
00228 struct Printer< ::blort_ros::ObjectPose_<ContainerAllocator> >
00229 {
00230   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::blort_ros::ObjectPose_<ContainerAllocator> & v) 
00231   {
00232     s << indent << "name: ";
00233     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00234     s << indent << "pose: ";
00235 s << std::endl;
00236     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00237     s << indent << "pose2D: ";
00238 s << std::endl;
00239     Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + "  ", v.pose2D);
00240     s << indent << "convex_hull_x[]" << std::endl;
00241     for (size_t i = 0; i < v.convex_hull_x.size(); ++i)
00242     {
00243       s << indent << "  convex_hull_x[" << i << "]: ";
00244       Printer<int16_t>::stream(s, indent + "  ", v.convex_hull_x[i]);
00245     }
00246     s << indent << "convex_hull_y[]" << std::endl;
00247     for (size_t i = 0; i < v.convex_hull_y.size(); ++i)
00248     {
00249       s << indent << "  convex_hull_y[" << i << "]: ";
00250       Printer<int16_t>::stream(s, indent + "  ", v.convex_hull_y[i]);
00251     }
00252     s << indent << "mean_quality: ";
00253     Printer<float>::stream(s, indent + "  ", v.mean_quality);
00254     s << indent << "used_points: ";
00255     Printer<int16_t>::stream(s, indent + "  ", v.used_points);
00256     s << indent << "properties[]" << std::endl;
00257     for (size_t i = 0; i < v.properties.size(); ++i)
00258     {
00259       s << indent << "  properties[" << i << "]: ";
00260       s << std::endl;
00261       s << indent;
00262       Printer< ::blort_ros::NameTypeValue_<ContainerAllocator> >::stream(s, indent + "    ", v.properties[i]);
00263     }
00264     s << indent << "pose_uncertainty_list[]" << std::endl;
00265     for (size_t i = 0; i < v.pose_uncertainty_list.size(); ++i)
00266     {
00267       s << indent << "  pose_uncertainty_list[" << i << "]: ";
00268       s << std::endl;
00269       s << indent;
00270       Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "    ", v.pose_uncertainty_list[i]);
00271     }
00272   }
00273 };
00274 
00275 
00276 } // namespace message_operations
00277 } // namespace ros
00278 
00279 #endif // BLORT_ROS_MESSAGE_OBJECTPOSE_H
00280 


blort_ros
Author(s): Bence Magyar
autogenerated on Thu Jan 2 2014 11:39:12