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