GetDistanceToObstacle.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/hector_slam/hector_nav_msgs/srv/GetDistanceToObstacle.srv */
00002 #ifndef HECTOR_NAV_MSGS_SERVICE_GETDISTANCETOOBSTACLE_H
00003 #define HECTOR_NAV_MSGS_SERVICE_GETDISTANCETOOBSTACLE_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 "ros/service_traits.h"
00018 
00019 #include "geometry_msgs/PointStamped.h"
00020 
00021 
00022 
00023 namespace hector_nav_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct GetDistanceToObstacleRequest_ {
00027   typedef GetDistanceToObstacleRequest_<ContainerAllocator> Type;
00028 
00029   GetDistanceToObstacleRequest_()
00030   : point()
00031   {
00032   }
00033 
00034   GetDistanceToObstacleRequest_(const ContainerAllocator& _alloc)
00035   : point(_alloc)
00036   {
00037   }
00038 
00039   typedef  ::geometry_msgs::PointStamped_<ContainerAllocator>  _point_type;
00040    ::geometry_msgs::PointStamped_<ContainerAllocator>  point;
00041 
00042 
00043   typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct GetDistanceToObstacleRequest
00047 typedef  ::hector_nav_msgs::GetDistanceToObstacleRequest_<std::allocator<void> > GetDistanceToObstacleRequest;
00048 
00049 typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleRequest> GetDistanceToObstacleRequestPtr;
00050 typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleRequest const> GetDistanceToObstacleRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct GetDistanceToObstacleResponse_ {
00055   typedef GetDistanceToObstacleResponse_<ContainerAllocator> Type;
00056 
00057   GetDistanceToObstacleResponse_()
00058   : distance(0.0)
00059   {
00060   }
00061 
00062   GetDistanceToObstacleResponse_(const ContainerAllocator& _alloc)
00063   : distance(0.0)
00064   {
00065   }
00066 
00067   typedef float _distance_type;
00068   float distance;
00069 
00070 
00071   typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct GetDistanceToObstacleResponse
00075 typedef  ::hector_nav_msgs::GetDistanceToObstacleResponse_<std::allocator<void> > GetDistanceToObstacleResponse;
00076 
00077 typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleResponse> GetDistanceToObstacleResponsePtr;
00078 typedef boost::shared_ptr< ::hector_nav_msgs::GetDistanceToObstacleResponse const> GetDistanceToObstacleResponseConstPtr;
00079 
00080 struct GetDistanceToObstacle
00081 {
00082 
00083 typedef GetDistanceToObstacleRequest Request;
00084 typedef GetDistanceToObstacleResponse Response;
00085 Request request;
00086 Response response;
00087 
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 }; // struct GetDistanceToObstacle
00091 } // namespace hector_nav_msgs
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "47dfdbd810b48d0a47b7ad67e4191bcc";
00104   }
00105 
00106   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0x47dfdbd810b48d0aULL;
00108   static const uint64_t static_value2 = 0x47b7ad67e4191bccULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "hector_nav_msgs/GetDistanceToObstacleRequest";
00116   }
00117 
00118   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "\n\
00126 \n\
00127 \n\
00128 \n\
00129 \n\
00130 geometry_msgs/PointStamped point\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/PointStamped\n\
00134 # This represents a Point with reference coordinate frame and timestamp\n\
00135 Header header\n\
00136 Point point\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: std_msgs/Header\n\
00140 # Standard metadata for higher-level stamped data types.\n\
00141 # This is generally used to communicate timestamped data \n\
00142 # in a particular coordinate frame.\n\
00143 # \n\
00144 # sequence ID: consecutively increasing ID \n\
00145 uint32 seq\n\
00146 #Two-integer timestamp that is expressed as:\n\
00147 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00148 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00149 # time-handling sugar is provided by the client library\n\
00150 time stamp\n\
00151 #Frame this data is associated with\n\
00152 # 0: no frame\n\
00153 # 1: global frame\n\
00154 string frame_id\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/Point\n\
00158 # This contains the position of a point in free space\n\
00159 float64 x\n\
00160 float64 y\n\
00161 float64 z\n\
00162 \n\
00163 ";
00164   }
00165 
00166   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> &) { return value(); } 
00167 };
00168 
00169 } // namespace message_traits
00170 } // namespace ros
00171 
00172 
00173 namespace ros
00174 {
00175 namespace message_traits
00176 {
00177 template<class ContainerAllocator> struct IsMessage< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > : public TrueType {};
00178 template<class ContainerAllocator> struct IsMessage< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator>  const> : public TrueType {};
00179 template<class ContainerAllocator>
00180 struct MD5Sum< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > {
00181   static const char* value() 
00182   {
00183     return "6e77fb10f0c8b4833ec273aa9ac74459";
00184   }
00185 
00186   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> &) { return value(); } 
00187   static const uint64_t static_value1 = 0x6e77fb10f0c8b483ULL;
00188   static const uint64_t static_value2 = 0x3ec273aa9ac74459ULL;
00189 };
00190 
00191 template<class ContainerAllocator>
00192 struct DataType< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > {
00193   static const char* value() 
00194   {
00195     return "hector_nav_msgs/GetDistanceToObstacleResponse";
00196   }
00197 
00198   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> &) { return value(); } 
00199 };
00200 
00201 template<class ContainerAllocator>
00202 struct Definition< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > {
00203   static const char* value() 
00204   {
00205     return "float32 distance\n\
00206 \n\
00207 \n\
00208 \n\
00209 ";
00210   }
00211 
00212   static const char* value(const  ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> &) { return value(); } 
00213 };
00214 
00215 template<class ContainerAllocator> struct IsFixedSize< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > : public TrueType {};
00216 } // namespace message_traits
00217 } // namespace ros
00218 
00219 namespace ros
00220 {
00221 namespace serialization
00222 {
00223 
00224 template<class ContainerAllocator> struct Serializer< ::hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> >
00225 {
00226   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00227   {
00228     stream.next(m.point);
00229   }
00230 
00231   ROS_DECLARE_ALLINONE_SERIALIZER;
00232 }; // struct GetDistanceToObstacleRequest_
00233 } // namespace serialization
00234 } // namespace ros
00235 
00236 
00237 namespace ros
00238 {
00239 namespace serialization
00240 {
00241 
00242 template<class ContainerAllocator> struct Serializer< ::hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> >
00243 {
00244   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00245   {
00246     stream.next(m.distance);
00247   }
00248 
00249   ROS_DECLARE_ALLINONE_SERIALIZER;
00250 }; // struct GetDistanceToObstacleResponse_
00251 } // namespace serialization
00252 } // namespace ros
00253 
00254 namespace ros
00255 {
00256 namespace service_traits
00257 {
00258 template<>
00259 struct MD5Sum<hector_nav_msgs::GetDistanceToObstacle> {
00260   static const char* value() 
00261   {
00262     return "39487a7f4ae86519c9734900c4327589";
00263   }
00264 
00265   static const char* value(const hector_nav_msgs::GetDistanceToObstacle&) { return value(); } 
00266 };
00267 
00268 template<>
00269 struct DataType<hector_nav_msgs::GetDistanceToObstacle> {
00270   static const char* value() 
00271   {
00272     return "hector_nav_msgs/GetDistanceToObstacle";
00273   }
00274 
00275   static const char* value(const hector_nav_msgs::GetDistanceToObstacle&) { return value(); } 
00276 };
00277 
00278 template<class ContainerAllocator>
00279 struct MD5Sum<hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > {
00280   static const char* value() 
00281   {
00282     return "39487a7f4ae86519c9734900c4327589";
00283   }
00284 
00285   static const char* value(const hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> &) { return value(); } 
00286 };
00287 
00288 template<class ContainerAllocator>
00289 struct DataType<hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> > {
00290   static const char* value() 
00291   {
00292     return "hector_nav_msgs/GetDistanceToObstacle";
00293   }
00294 
00295   static const char* value(const hector_nav_msgs::GetDistanceToObstacleRequest_<ContainerAllocator> &) { return value(); } 
00296 };
00297 
00298 template<class ContainerAllocator>
00299 struct MD5Sum<hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > {
00300   static const char* value() 
00301   {
00302     return "39487a7f4ae86519c9734900c4327589";
00303   }
00304 
00305   static const char* value(const hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> &) { return value(); } 
00306 };
00307 
00308 template<class ContainerAllocator>
00309 struct DataType<hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> > {
00310   static const char* value() 
00311   {
00312     return "hector_nav_msgs/GetDistanceToObstacle";
00313   }
00314 
00315   static const char* value(const hector_nav_msgs::GetDistanceToObstacleResponse_<ContainerAllocator> &) { return value(); } 
00316 };
00317 
00318 } // namespace service_traits
00319 } // namespace ros
00320 
00321 #endif // HECTOR_NAV_MSGS_SERVICE_GETDISTANCETOOBSTACLE_H
00322 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


hector_nav_msgs
Author(s): Stefan Kohlbrecher
autogenerated on Mon Jul 15 2013 16:47:07