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