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