Go to the documentation of this file.00001
00002 #ifndef MAP_ANNOTATION_SERVICE_GETANNOTATEDPOINTS_H
00003 #define MAP_ANNOTATION_SERVICE_GETANNOTATEDPOINTS_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
00020
00021 #include "geometry_msgs/Point.h"
00022
00023 namespace map_annotation
00024 {
00025 template <class ContainerAllocator>
00026 struct GetAnnotatedPointsRequest_ {
00027 typedef GetAnnotatedPointsRequest_<ContainerAllocator> Type;
00028
00029 GetAnnotatedPointsRequest_()
00030 {
00031 }
00032
00033 GetAnnotatedPointsRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::map_annotation::GetAnnotatedPointsRequest_<std::allocator<void> > GetAnnotatedPointsRequest;
00043
00044 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsRequest> GetAnnotatedPointsRequestPtr;
00045 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsRequest const> GetAnnotatedPointsRequestConstPtr;
00046
00047
00048 template <class ContainerAllocator>
00049 struct GetAnnotatedPointsResponse_ {
00050 typedef GetAnnotatedPointsResponse_<ContainerAllocator> Type;
00051
00052 GetAnnotatedPointsResponse_()
00053 : labels()
00054 , points()
00055 {
00056 }
00057
00058 GetAnnotatedPointsResponse_(const ContainerAllocator& _alloc)
00059 : labels(_alloc)
00060 , points(_alloc)
00061 {
00062 }
00063
00064 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _labels_type;
00065 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > labels;
00066
00067 typedef std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > _points_type;
00068 std::vector< ::geometry_msgs::Point_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Point_<ContainerAllocator> >::other > points;
00069
00070
00071 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::map_annotation::GetAnnotatedPointsResponse_<std::allocator<void> > GetAnnotatedPointsResponse;
00076
00077 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsResponse> GetAnnotatedPointsResponsePtr;
00078 typedef boost::shared_ptr< ::map_annotation::GetAnnotatedPointsResponse const> GetAnnotatedPointsResponseConstPtr;
00079
00080 struct GetAnnotatedPoints
00081 {
00082
00083 typedef GetAnnotatedPointsRequest Request;
00084 typedef GetAnnotatedPointsResponse 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::GetAnnotatedPointsRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "d41d8cd98f00b204e9800998ecf8427e";
00104 }
00105
00106 static const char* value(const ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00108 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "map_annotation/GetAnnotatedPointsRequest";
00116 }
00117
00118 static const char* value(const ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "\n\
00126 ";
00127 }
00128
00129 static const char* value(const ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator> struct IsFixedSize< ::map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > : public TrueType {};
00133 }
00134 }
00135
00136
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "84f6974f65d47c9aceaf9402e7f14494";
00148 }
00149
00150 static const char* value(const ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0x84f6974f65d47c9aULL;
00152 static const uint64_t static_value2 = 0xceaf9402e7f14494ULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "map_annotation/GetAnnotatedPointsResponse";
00160 }
00161
00162 static const char* value(const ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "string[] labels\n\
00170 geometry_msgs/Point[] points\n\
00171 \n\
00172 \n\
00173 ================================================================================\n\
00174 MSG: geometry_msgs/Point\n\
00175 # This contains the position of a point in free space\n\
00176 float64 x\n\
00177 float64 y\n\
00178 float64 z\n\
00179 \n\
00180 ";
00181 }
00182
00183 static const char* value(const ::map_annotation::GetAnnotatedPointsResponse_<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::GetAnnotatedPointsRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 }
00199
00200 ROS_DECLARE_ALLINONE_SERIALIZER;
00201 };
00202 }
00203 }
00204
00205
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210
00211 template<class ContainerAllocator> struct Serializer< ::map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> >
00212 {
00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214 {
00215 stream.next(m.labels);
00216 stream.next(m.points);
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::GetAnnotatedPoints> {
00230 static const char* value()
00231 {
00232 return "84f6974f65d47c9aceaf9402e7f14494";
00233 }
00234
00235 static const char* value(const map_annotation::GetAnnotatedPoints&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<map_annotation::GetAnnotatedPoints> {
00240 static const char* value()
00241 {
00242 return "map_annotation/GetAnnotatedPoints";
00243 }
00244
00245 static const char* value(const map_annotation::GetAnnotatedPoints&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "84f6974f65d47c9aceaf9402e7f14494";
00253 }
00254
00255 static const char* value(const map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "map_annotation/GetAnnotatedPoints";
00263 }
00264
00265 static const char* value(const map_annotation::GetAnnotatedPointsRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "84f6974f65d47c9aceaf9402e7f14494";
00273 }
00274
00275 static const char* value(const map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "map_annotation/GetAnnotatedPoints";
00283 }
00284
00285 static const char* value(const map_annotation::GetAnnotatedPointsResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // MAP_ANNOTATION_SERVICE_GETANNOTATEDPOINTS_H
00292