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