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


hector_nav_msgs
Author(s): Stefan Kohlbrecher
autogenerated on Mon Oct 6 2014 00:33:16