ClosestPointHit.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-kyb-mpg-ros-pkg/doc_stacks/2013-11-11_11-09-26.678778/telekyb_common/tk_draft_msgs/msg/ClosestPointHit.msg */
00002 #ifndef TK_DRAFT_MSGS_MESSAGE_CLOSESTPOINTHIT_H
00003 #define TK_DRAFT_MSGS_MESSAGE_CLOSESTPOINTHIT_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/Point.h"
00018 #include "geometry_msgs/Point.h"
00019 
00020 namespace tk_draft_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ClosestPointHit_ {
00024   typedef ClosestPointHit_<ContainerAllocator> Type;
00025 
00026   ClosestPointHit_()
00027   : id1(0)
00028   , id2(0)
00029   , pointSeg()
00030   , pointObs()
00031   , distance()
00032   {
00033   }
00034 
00035   ClosestPointHit_(const ContainerAllocator& _alloc)
00036   : id1(0)
00037   , id2(0)
00038   , pointSeg(_alloc)
00039   , pointObs(_alloc)
00040   , distance(_alloc)
00041   {
00042   }
00043 
00044   typedef uint8_t _id1_type;
00045   uint8_t id1;
00046 
00047   typedef uint8_t _id2_type;
00048   uint8_t id2;
00049 
00050   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _pointSeg_type;
00051   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  pointSeg;
00052 
00053   typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  _pointObs_type;
00054   std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other >  pointObs;
00055 
00056   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _distance_type;
00057   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  distance;
00058 
00059 
00060   typedef boost::shared_ptr< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct ClosestPointHit
00064 typedef  ::tk_draft_msgs::ClosestPointHit_<std::allocator<void> > ClosestPointHit;
00065 
00066 typedef boost::shared_ptr< ::tk_draft_msgs::ClosestPointHit> ClosestPointHitPtr;
00067 typedef boost::shared_ptr< ::tk_draft_msgs::ClosestPointHit const> ClosestPointHitConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace tk_draft_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "151538e55e3c575ad8e4f5756accfa6d";
00089   }
00090 
00091   static const char* value(const  ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x151538e55e3c575aULL;
00093   static const uint64_t static_value2 = 0xd8e4f5756accfa6dULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "tk_draft_msgs/ClosestPointHit";
00101   }
00102 
00103   static const char* value(const  ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "#\n\
00111 # Copyright 2012 Authors: Johannes Laechele and Thomas Nestmeyer\n\
00112 #\n\
00113 # This file is part of TeleKyb.\n\
00114 #\n\
00115 # TeleKyb is free software: you can redistribute it and/or modify\n\
00116 # it under the terms of the GNU General Public License as published by\n\
00117 # the Free Software Foundation, either version 3 of the License, or\n\
00118 # (at your option) any later version.\n\
00119 #\n\
00120 # TeleKyb is distributed in the hope that it will be useful,\n\
00121 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00122 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
00123 # GNU General Public License for more details.\n\
00124 #\n\
00125 # You should have received a copy of the GNU General Public License\n\
00126 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00127 \n\
00128 #both form the ID of segment:\n\
00129 #(id1,id2) = (id2,id1)\n\
00130 uint8 id1\n\
00131 uint8 id2\n\
00132 \n\
00133 # Point on segment\n\
00134 geometry_msgs/Point[] pointSeg\n\
00135 \n\
00136 # Point on segment\n\
00137 geometry_msgs/Point[] pointObs\n\
00138 \n\
00139 # Distances\n\
00140 float64[] distance\n\
00141 \n\
00142 \n\
00143 ================================================================================\n\
00144 MSG: geometry_msgs/Point\n\
00145 # This contains the position of a point in free space\n\
00146 float64 x\n\
00147 float64 y\n\
00148 float64 z\n\
00149 \n\
00150 ";
00151   }
00152 
00153   static const char* value(const  ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> &) { return value(); } 
00154 };
00155 
00156 } // namespace message_traits
00157 } // namespace ros
00158 
00159 namespace ros
00160 {
00161 namespace serialization
00162 {
00163 
00164 template<class ContainerAllocator> struct Serializer< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> >
00165 {
00166   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00167   {
00168     stream.next(m.id1);
00169     stream.next(m.id2);
00170     stream.next(m.pointSeg);
00171     stream.next(m.pointObs);
00172     stream.next(m.distance);
00173   }
00174 
00175   ROS_DECLARE_ALLINONE_SERIALIZER;
00176 }; // struct ClosestPointHit_
00177 } // namespace serialization
00178 } // namespace ros
00179 
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184 
00185 template<class ContainerAllocator>
00186 struct Printer< ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> >
00187 {
00188   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tk_draft_msgs::ClosestPointHit_<ContainerAllocator> & v) 
00189   {
00190     s << indent << "id1: ";
00191     Printer<uint8_t>::stream(s, indent + "  ", v.id1);
00192     s << indent << "id2: ";
00193     Printer<uint8_t>::stream(s, indent + "  ", v.id2);
00194     s << indent << "pointSeg[]" << std::endl;
00195     for (size_t i = 0; i < v.pointSeg.size(); ++i)
00196     {
00197       s << indent << "  pointSeg[" << i << "]: ";
00198       s << std::endl;
00199       s << indent;
00200       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.pointSeg[i]);
00201     }
00202     s << indent << "pointObs[]" << std::endl;
00203     for (size_t i = 0; i < v.pointObs.size(); ++i)
00204     {
00205       s << indent << "  pointObs[" << i << "]: ";
00206       s << std::endl;
00207       s << indent;
00208       Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "    ", v.pointObs[i]);
00209     }
00210     s << indent << "distance[]" << std::endl;
00211     for (size_t i = 0; i < v.distance.size(); ++i)
00212     {
00213       s << indent << "  distance[" << i << "]: ";
00214       Printer<double>::stream(s, indent + "  ", v.distance[i]);
00215     }
00216   }
00217 };
00218 
00219 
00220 } // namespace message_operations
00221 } // namespace ros
00222 
00223 #endif // TK_DRAFT_MSGS_MESSAGE_CLOSESTPOINTHIT_H
00224 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


tk_draft_msgs
Author(s): Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:57