Go to the documentation of this file.00001
00002 #ifndef MAP_ANNOTATION_SERVICE_FINDCLOSESTANNOTATION_H
00003 #define MAP_ANNOTATION_SERVICE_FINDCLOSESTANNOTATION_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/Point.h"
00020
00021
00022
00023 namespace map_annotation
00024 {
00025 template <class ContainerAllocator>
00026 struct FindClosestAnnotationRequest_ {
00027 typedef FindClosestAnnotationRequest_<ContainerAllocator> Type;
00028
00029 FindClosestAnnotationRequest_()
00030 : point()
00031 {
00032 }
00033
00034 FindClosestAnnotationRequest_(const ContainerAllocator& _alloc)
00035 : point(_alloc)
00036 {
00037 }
00038
00039 typedef ::geometry_msgs::Point_<ContainerAllocator> _point_type;
00040 ::geometry_msgs::Point_<ContainerAllocator> point;
00041
00042
00043 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::map_annotation::FindClosestAnnotationRequest_<std::allocator<void> > FindClosestAnnotationRequest;
00048
00049 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationRequest> FindClosestAnnotationRequestPtr;
00050 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationRequest const> FindClosestAnnotationRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct FindClosestAnnotationResponse_ {
00055 typedef FindClosestAnnotationResponse_<ContainerAllocator> Type;
00056
00057 FindClosestAnnotationResponse_()
00058 : label()
00059 {
00060 }
00061
00062 FindClosestAnnotationResponse_(const ContainerAllocator& _alloc)
00063 : label(_alloc)
00064 {
00065 }
00066
00067 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _label_type;
00068 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > label;
00069
00070
00071 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::map_annotation::FindClosestAnnotationResponse_<std::allocator<void> > FindClosestAnnotationResponse;
00076
00077 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationResponse> FindClosestAnnotationResponsePtr;
00078 typedef boost::shared_ptr< ::map_annotation::FindClosestAnnotationResponse const> FindClosestAnnotationResponseConstPtr;
00079
00080 struct FindClosestAnnotation
00081 {
00082
00083 typedef FindClosestAnnotationRequest Request;
00084 typedef FindClosestAnnotationResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "a7c84ff13976aa04656e56e300124444";
00104 }
00105
00106 static const char* value(const ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xa7c84ff13976aa04ULL;
00108 static const uint64_t static_value2 = 0x656e56e300124444ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "map_annotation/FindClosestAnnotationRequest";
00116 }
00117
00118 static const char* value(const ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "geometry_msgs/Point point\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Point\n\
00129 # This contains the position of a point in free space\n\
00130 float64 x\n\
00131 float64 y\n\
00132 float64 z\n\
00133 \n\
00134 ";
00135 }
00136
00137 static const char* value(const ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator> struct IsFixedSize< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > : public TrueType {};
00141 }
00142 }
00143
00144
00145 namespace ros
00146 {
00147 namespace message_traits
00148 {
00149 template<class ContainerAllocator> struct IsMessage< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > : public TrueType {};
00150 template<class ContainerAllocator> struct IsMessage< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> const> : public TrueType {};
00151 template<class ContainerAllocator>
00152 struct MD5Sum< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > {
00153 static const char* value()
00154 {
00155 return "ea23f97416b04c6151d2b576c0665ac1";
00156 }
00157
00158 static const char* value(const ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> &) { return value(); }
00159 static const uint64_t static_value1 = 0xea23f97416b04c61ULL;
00160 static const uint64_t static_value2 = 0x51d2b576c0665ac1ULL;
00161 };
00162
00163 template<class ContainerAllocator>
00164 struct DataType< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > {
00165 static const char* value()
00166 {
00167 return "map_annotation/FindClosestAnnotationResponse";
00168 }
00169
00170 static const char* value(const ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 template<class ContainerAllocator>
00174 struct Definition< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > {
00175 static const char* value()
00176 {
00177 return "string label\n\
00178 \n\
00179 \n\
00180 ";
00181 }
00182
00183 static const char* value(const ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193
00194 template<class ContainerAllocator> struct Serializer< ::map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 stream.next(m.point);
00199 }
00200
00201 ROS_DECLARE_ALLINONE_SERIALIZER;
00202 };
00203 }
00204 }
00205
00206
00207 namespace ros
00208 {
00209 namespace serialization
00210 {
00211
00212 template<class ContainerAllocator> struct Serializer< ::map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> >
00213 {
00214 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00215 {
00216 stream.next(m.label);
00217 }
00218
00219 ROS_DECLARE_ALLINONE_SERIALIZER;
00220 };
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace service_traits
00227 {
00228 template<>
00229 struct MD5Sum<map_annotation::FindClosestAnnotation> {
00230 static const char* value()
00231 {
00232 return "f73be94045bf318f23790ee3e1b270db";
00233 }
00234
00235 static const char* value(const map_annotation::FindClosestAnnotation&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<map_annotation::FindClosestAnnotation> {
00240 static const char* value()
00241 {
00242 return "map_annotation/FindClosestAnnotation";
00243 }
00244
00245 static const char* value(const map_annotation::FindClosestAnnotation&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "f73be94045bf318f23790ee3e1b270db";
00253 }
00254
00255 static const char* value(const map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "map_annotation/FindClosestAnnotation";
00263 }
00264
00265 static const char* value(const map_annotation::FindClosestAnnotationRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "f73be94045bf318f23790ee3e1b270db";
00273 }
00274
00275 static const char* value(const map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "map_annotation/FindClosestAnnotation";
00283 }
00284
00285 static const char* value(const map_annotation::FindClosestAnnotationResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // MAP_ANNOTATION_SERVICE_FINDCLOSESTANNOTATION_H
00292