Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_REQUEST2DMAP_H
00003 #define RE_SRVS_SERVICE_REQUEST2DMAP_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 "re_msgs/RosFile.h"
00022 #include "re_msgs/RosFile.h"
00023
00024 namespace re_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct Request2DMapRequest_ {
00028 typedef Request2DMapRequest_<ContainerAllocator> Type;
00029
00030 Request2DMapRequest_()
00031 : envUID()
00032 , srdl()
00033 , baseScannerLink()
00034 , targetMapName()
00035 {
00036 }
00037
00038 Request2DMapRequest_(const ContainerAllocator& _alloc)
00039 : envUID(_alloc)
00040 , srdl(_alloc)
00041 , baseScannerLink(_alloc)
00042 , targetMapName(_alloc)
00043 {
00044 }
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _envUID_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > envUID;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _srdl_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > srdl;
00051
00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _baseScannerLink_type;
00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > baseScannerLink;
00054
00055 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _targetMapName_type;
00056 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > targetMapName;
00057
00058
00059 typedef boost::shared_ptr< ::re_srvs::Request2DMapRequest_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::re_srvs::Request2DMapRequest_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::re_srvs::Request2DMapRequest_<std::allocator<void> > Request2DMapRequest;
00064
00065 typedef boost::shared_ptr< ::re_srvs::Request2DMapRequest> Request2DMapRequestPtr;
00066 typedef boost::shared_ptr< ::re_srvs::Request2DMapRequest const> Request2DMapRequestConstPtr;
00067
00068
00069 template <class ContainerAllocator>
00070 struct Request2DMapResponse_ {
00071 typedef Request2DMapResponse_<ContainerAllocator> Type;
00072
00073 Request2DMapResponse_()
00074 : success(false)
00075 , map()
00076 , meta()
00077 {
00078 }
00079
00080 Request2DMapResponse_(const ContainerAllocator& _alloc)
00081 : success(false)
00082 , map(_alloc)
00083 , meta(_alloc)
00084 {
00085 }
00086
00087 typedef uint8_t _success_type;
00088 uint8_t success;
00089
00090 typedef ::re_msgs::RosFile_<ContainerAllocator> _map_type;
00091 ::re_msgs::RosFile_<ContainerAllocator> map;
00092
00093 typedef ::re_msgs::RosFile_<ContainerAllocator> _meta_type;
00094 ::re_msgs::RosFile_<ContainerAllocator> meta;
00095
00096
00097 typedef boost::shared_ptr< ::re_srvs::Request2DMapResponse_<ContainerAllocator> > Ptr;
00098 typedef boost::shared_ptr< ::re_srvs::Request2DMapResponse_<ContainerAllocator> const> ConstPtr;
00099 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 };
00101 typedef ::re_srvs::Request2DMapResponse_<std::allocator<void> > Request2DMapResponse;
00102
00103 typedef boost::shared_ptr< ::re_srvs::Request2DMapResponse> Request2DMapResponsePtr;
00104 typedef boost::shared_ptr< ::re_srvs::Request2DMapResponse const> Request2DMapResponseConstPtr;
00105
00106 struct Request2DMap
00107 {
00108
00109 typedef Request2DMapRequest Request;
00110 typedef Request2DMapResponse Response;
00111 Request request;
00112 Response response;
00113
00114 typedef Request RequestType;
00115 typedef Response ResponseType;
00116 };
00117 }
00118
00119 namespace ros
00120 {
00121 namespace message_traits
00122 {
00123 template<class ContainerAllocator> struct IsMessage< ::re_srvs::Request2DMapRequest_<ContainerAllocator> > : public TrueType {};
00124 template<class ContainerAllocator> struct IsMessage< ::re_srvs::Request2DMapRequest_<ContainerAllocator> const> : public TrueType {};
00125 template<class ContainerAllocator>
00126 struct MD5Sum< ::re_srvs::Request2DMapRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "4ecd72f87dfe5c9d4a80ccd12672f9b3";
00130 }
00131
00132 static const char* value(const ::re_srvs::Request2DMapRequest_<ContainerAllocator> &) { return value(); }
00133 static const uint64_t static_value1 = 0x4ecd72f87dfe5c9dULL;
00134 static const uint64_t static_value2 = 0x4a80ccd12672f9b3ULL;
00135 };
00136
00137 template<class ContainerAllocator>
00138 struct DataType< ::re_srvs::Request2DMapRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "re_srvs/Request2DMapRequest";
00142 }
00143
00144 static const char* value(const ::re_srvs::Request2DMapRequest_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator>
00148 struct Definition< ::re_srvs::Request2DMapRequest_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "string envUID\n\
00152 string srdl\n\
00153 string baseScannerLink\n\
00154 \n\
00155 string targetMapName\n\
00156 \n\
00157 \n\
00158 ";
00159 }
00160
00161 static const char* value(const ::re_srvs::Request2DMapRequest_<ContainerAllocator> &) { return value(); }
00162 };
00163
00164 }
00165 }
00166
00167
00168 namespace ros
00169 {
00170 namespace message_traits
00171 {
00172 template<class ContainerAllocator> struct IsMessage< ::re_srvs::Request2DMapResponse_<ContainerAllocator> > : public TrueType {};
00173 template<class ContainerAllocator> struct IsMessage< ::re_srvs::Request2DMapResponse_<ContainerAllocator> const> : public TrueType {};
00174 template<class ContainerAllocator>
00175 struct MD5Sum< ::re_srvs::Request2DMapResponse_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "0b14b385997efc59caa091c489f65080";
00179 }
00180
00181 static const char* value(const ::re_srvs::Request2DMapResponse_<ContainerAllocator> &) { return value(); }
00182 static const uint64_t static_value1 = 0x0b14b385997efc59ULL;
00183 static const uint64_t static_value2 = 0xcaa091c489f65080ULL;
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct DataType< ::re_srvs::Request2DMapResponse_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "re_srvs/Request2DMapResponse";
00191 }
00192
00193 static const char* value(const ::re_srvs::Request2DMapResponse_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator>
00197 struct Definition< ::re_srvs::Request2DMapResponse_<ContainerAllocator> > {
00198 static const char* value()
00199 {
00200 return "bool success\n\
00201 re_msgs/RosFile map\n\
00202 re_msgs/RosFile meta\n\
00203 \n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: re_msgs/RosFile\n\
00207 # This file representation is used to pass binary data to the RoboEarthDB.\n\
00208 # As the endianess isn't stored, only files with a byte order mark (BOM) or\n\
00209 # an implicitly specified endianess should be transferred.\n\
00210 string name # file name\n\
00211 int8[] data # binary data \n\
00212 \n\
00213 ";
00214 }
00215
00216 static const char* value(const ::re_srvs::Request2DMapResponse_<ContainerAllocator> &) { return value(); }
00217 };
00218
00219 }
00220 }
00221
00222 namespace ros
00223 {
00224 namespace serialization
00225 {
00226
00227 template<class ContainerAllocator> struct Serializer< ::re_srvs::Request2DMapRequest_<ContainerAllocator> >
00228 {
00229 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00230 {
00231 stream.next(m.envUID);
00232 stream.next(m.srdl);
00233 stream.next(m.baseScannerLink);
00234 stream.next(m.targetMapName);
00235 }
00236
00237 ROS_DECLARE_ALLINONE_SERIALIZER;
00238 };
00239 }
00240 }
00241
00242
00243 namespace ros
00244 {
00245 namespace serialization
00246 {
00247
00248 template<class ContainerAllocator> struct Serializer< ::re_srvs::Request2DMapResponse_<ContainerAllocator> >
00249 {
00250 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00251 {
00252 stream.next(m.success);
00253 stream.next(m.map);
00254 stream.next(m.meta);
00255 }
00256
00257 ROS_DECLARE_ALLINONE_SERIALIZER;
00258 };
00259 }
00260 }
00261
00262 namespace ros
00263 {
00264 namespace service_traits
00265 {
00266 template<>
00267 struct MD5Sum<re_srvs::Request2DMap> {
00268 static const char* value()
00269 {
00270 return "36589988f0eaacd3eb9e9e443f14ac19";
00271 }
00272
00273 static const char* value(const re_srvs::Request2DMap&) { return value(); }
00274 };
00275
00276 template<>
00277 struct DataType<re_srvs::Request2DMap> {
00278 static const char* value()
00279 {
00280 return "re_srvs/Request2DMap";
00281 }
00282
00283 static const char* value(const re_srvs::Request2DMap&) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct MD5Sum<re_srvs::Request2DMapRequest_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "36589988f0eaacd3eb9e9e443f14ac19";
00291 }
00292
00293 static const char* value(const re_srvs::Request2DMapRequest_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 template<class ContainerAllocator>
00297 struct DataType<re_srvs::Request2DMapRequest_<ContainerAllocator> > {
00298 static const char* value()
00299 {
00300 return "re_srvs/Request2DMap";
00301 }
00302
00303 static const char* value(const re_srvs::Request2DMapRequest_<ContainerAllocator> &) { return value(); }
00304 };
00305
00306 template<class ContainerAllocator>
00307 struct MD5Sum<re_srvs::Request2DMapResponse_<ContainerAllocator> > {
00308 static const char* value()
00309 {
00310 return "36589988f0eaacd3eb9e9e443f14ac19";
00311 }
00312
00313 static const char* value(const re_srvs::Request2DMapResponse_<ContainerAllocator> &) { return value(); }
00314 };
00315
00316 template<class ContainerAllocator>
00317 struct DataType<re_srvs::Request2DMapResponse_<ContainerAllocator> > {
00318 static const char* value()
00319 {
00320 return "re_srvs/Request2DMap";
00321 }
00322
00323 static const char* value(const re_srvs::Request2DMapResponse_<ContainerAllocator> &) { return value(); }
00324 };
00325
00326 }
00327 }
00328
00329 #endif // RE_SRVS_SERVICE_REQUEST2DMAP_H
00330