Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_REQUESTPROJ2DMAP_H
00003 #define RE_SRVS_SERVICE_REQUESTPROJ2DMAP_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 RequestProj2DMapRequest_ {
00028 typedef RequestProj2DMapRequest_<ContainerAllocator> Type;
00029
00030 RequestProj2DMapRequest_()
00031 : envUID()
00032 , minZ(0.0)
00033 , maxZ(0.0)
00034 , targetMapName()
00035 {
00036 }
00037
00038 RequestProj2DMapRequest_(const ContainerAllocator& _alloc)
00039 : envUID(_alloc)
00040 , minZ(0.0)
00041 , maxZ(0.0)
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 double _minZ_type;
00050 double minZ;
00051
00052 typedef double _maxZ_type;
00053 double maxZ;
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::RequestProj2DMapRequest_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::re_srvs::RequestProj2DMapRequest_<std::allocator<void> > RequestProj2DMapRequest;
00064
00065 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapRequest> RequestProj2DMapRequestPtr;
00066 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapRequest const> RequestProj2DMapRequestConstPtr;
00067
00068
00069 template <class ContainerAllocator>
00070 struct RequestProj2DMapResponse_ {
00071 typedef RequestProj2DMapResponse_<ContainerAllocator> Type;
00072
00073 RequestProj2DMapResponse_()
00074 : success(false)
00075 , map()
00076 , meta()
00077 {
00078 }
00079
00080 RequestProj2DMapResponse_(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::RequestProj2DMapResponse_<ContainerAllocator> > Ptr;
00098 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> const> ConstPtr;
00099 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00100 };
00101 typedef ::re_srvs::RequestProj2DMapResponse_<std::allocator<void> > RequestProj2DMapResponse;
00102
00103 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapResponse> RequestProj2DMapResponsePtr;
00104 typedef boost::shared_ptr< ::re_srvs::RequestProj2DMapResponse const> RequestProj2DMapResponseConstPtr;
00105
00106 struct RequestProj2DMap
00107 {
00108
00109 typedef RequestProj2DMapRequest Request;
00110 typedef RequestProj2DMapResponse 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::RequestProj2DMapRequest_<ContainerAllocator> > : public TrueType {};
00124 template<class ContainerAllocator> struct IsMessage< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> const> : public TrueType {};
00125 template<class ContainerAllocator>
00126 struct MD5Sum< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "5ee9f7b02752843c2c8c2067dfffdef5";
00130 }
00131
00132 static const char* value(const ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> &) { return value(); }
00133 static const uint64_t static_value1 = 0x5ee9f7b02752843cULL;
00134 static const uint64_t static_value2 = 0x2c8c2067dfffdef5ULL;
00135 };
00136
00137 template<class ContainerAllocator>
00138 struct DataType< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "re_srvs/RequestProj2DMapRequest";
00142 }
00143
00144 static const char* value(const ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> &) { return value(); }
00145 };
00146
00147 template<class ContainerAllocator>
00148 struct Definition< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> > {
00149 static const char* value()
00150 {
00151 return "string envUID\n\
00152 float64 minZ\n\
00153 float64 maxZ\n\
00154 string targetMapName\n\
00155 \n\
00156 \n\
00157 ";
00158 }
00159
00160 static const char* value(const ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 }
00164 }
00165
00166
00167 namespace ros
00168 {
00169 namespace message_traits
00170 {
00171 template<class ContainerAllocator> struct IsMessage< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > : public TrueType {};
00172 template<class ContainerAllocator> struct IsMessage< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> const> : public TrueType {};
00173 template<class ContainerAllocator>
00174 struct MD5Sum< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > {
00175 static const char* value()
00176 {
00177 return "0b14b385997efc59caa091c489f65080";
00178 }
00179
00180 static const char* value(const ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> &) { return value(); }
00181 static const uint64_t static_value1 = 0x0b14b385997efc59ULL;
00182 static const uint64_t static_value2 = 0xcaa091c489f65080ULL;
00183 };
00184
00185 template<class ContainerAllocator>
00186 struct DataType< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "re_srvs/RequestProj2DMapResponse";
00190 }
00191
00192 static const char* value(const ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> &) { return value(); }
00193 };
00194
00195 template<class ContainerAllocator>
00196 struct Definition< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "bool success\n\
00200 re_msgs/RosFile map\n\
00201 re_msgs/RosFile meta\n\
00202 \n\
00203 \n\
00204 ================================================================================\n\
00205 MSG: re_msgs/RosFile\n\
00206 # This file representation is used to pass binary data to the RoboEarthDB.\n\
00207 # As the endianess isn't stored, only files with a byte order mark (BOM) or\n\
00208 # an implicitly specified endianess should be transferred.\n\
00209 string name # file name\n\
00210 int8[] data # binary data \n\
00211 \n\
00212 ";
00213 }
00214
00215 static const char* value(const ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> &) { return value(); }
00216 };
00217
00218 }
00219 }
00220
00221 namespace ros
00222 {
00223 namespace serialization
00224 {
00225
00226 template<class ContainerAllocator> struct Serializer< ::re_srvs::RequestProj2DMapRequest_<ContainerAllocator> >
00227 {
00228 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00229 {
00230 stream.next(m.envUID);
00231 stream.next(m.minZ);
00232 stream.next(m.maxZ);
00233 stream.next(m.targetMapName);
00234 }
00235
00236 ROS_DECLARE_ALLINONE_SERIALIZER;
00237 };
00238 }
00239 }
00240
00241
00242 namespace ros
00243 {
00244 namespace serialization
00245 {
00246
00247 template<class ContainerAllocator> struct Serializer< ::re_srvs::RequestProj2DMapResponse_<ContainerAllocator> >
00248 {
00249 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00250 {
00251 stream.next(m.success);
00252 stream.next(m.map);
00253 stream.next(m.meta);
00254 }
00255
00256 ROS_DECLARE_ALLINONE_SERIALIZER;
00257 };
00258 }
00259 }
00260
00261 namespace ros
00262 {
00263 namespace service_traits
00264 {
00265 template<>
00266 struct MD5Sum<re_srvs::RequestProj2DMap> {
00267 static const char* value()
00268 {
00269 return "e0f2eef827fa0f11b6c20a347206ed51";
00270 }
00271
00272 static const char* value(const re_srvs::RequestProj2DMap&) { return value(); }
00273 };
00274
00275 template<>
00276 struct DataType<re_srvs::RequestProj2DMap> {
00277 static const char* value()
00278 {
00279 return "re_srvs/RequestProj2DMap";
00280 }
00281
00282 static const char* value(const re_srvs::RequestProj2DMap&) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct MD5Sum<re_srvs::RequestProj2DMapRequest_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "e0f2eef827fa0f11b6c20a347206ed51";
00290 }
00291
00292 static const char* value(const re_srvs::RequestProj2DMapRequest_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 template<class ContainerAllocator>
00296 struct DataType<re_srvs::RequestProj2DMapRequest_<ContainerAllocator> > {
00297 static const char* value()
00298 {
00299 return "re_srvs/RequestProj2DMap";
00300 }
00301
00302 static const char* value(const re_srvs::RequestProj2DMapRequest_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 template<class ContainerAllocator>
00306 struct MD5Sum<re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > {
00307 static const char* value()
00308 {
00309 return "e0f2eef827fa0f11b6c20a347206ed51";
00310 }
00311
00312 static const char* value(const re_srvs::RequestProj2DMapResponse_<ContainerAllocator> &) { return value(); }
00313 };
00314
00315 template<class ContainerAllocator>
00316 struct DataType<re_srvs::RequestProj2DMapResponse_<ContainerAllocator> > {
00317 static const char* value()
00318 {
00319 return "re_srvs/RequestProj2DMap";
00320 }
00321
00322 static const char* value(const re_srvs::RequestProj2DMapResponse_<ContainerAllocator> &) { return value(); }
00323 };
00324
00325 }
00326 }
00327
00328 #endif // RE_SRVS_SERVICE_REQUESTPROJ2DMAP_H
00329