Go to the documentation of this file.00001
00002 #ifndef MAP_STORE_SERVICE_LISTMAPS_H
00003 #define MAP_STORE_SERVICE_LISTMAPS_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 "map_store/MapListEntry.h"
00022
00023 namespace map_store
00024 {
00025 template <class ContainerAllocator>
00026 struct ListMapsRequest_ {
00027 typedef ListMapsRequest_<ContainerAllocator> Type;
00028
00029 ListMapsRequest_()
00030 {
00031 }
00032
00033 ListMapsRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::map_store::ListMapsRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::map_store::ListMapsRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::map_store::ListMapsRequest_<std::allocator<void> > ListMapsRequest;
00043
00044 typedef boost::shared_ptr< ::map_store::ListMapsRequest> ListMapsRequestPtr;
00045 typedef boost::shared_ptr< ::map_store::ListMapsRequest const> ListMapsRequestConstPtr;
00046
00047
00048
00049 template <class ContainerAllocator>
00050 struct ListMapsResponse_ {
00051 typedef ListMapsResponse_<ContainerAllocator> Type;
00052
00053 ListMapsResponse_()
00054 : map_list()
00055 {
00056 }
00057
00058 ListMapsResponse_(const ContainerAllocator& _alloc)
00059 : map_list(_alloc)
00060 {
00061 }
00062
00063 typedef std::vector< ::map_store::MapListEntry_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::map_store::MapListEntry_<ContainerAllocator> >::other > _map_list_type;
00064 std::vector< ::map_store::MapListEntry_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::map_store::MapListEntry_<ContainerAllocator> >::other > map_list;
00065
00066
00067 typedef boost::shared_ptr< ::map_store::ListMapsResponse_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::map_store::ListMapsResponse_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::map_store::ListMapsResponse_<std::allocator<void> > ListMapsResponse;
00072
00073 typedef boost::shared_ptr< ::map_store::ListMapsResponse> ListMapsResponsePtr;
00074 typedef boost::shared_ptr< ::map_store::ListMapsResponse const> ListMapsResponseConstPtr;
00075
00076
00077 struct ListMaps
00078 {
00079
00080 typedef ListMapsRequest Request;
00081 typedef ListMapsResponse Response;
00082 Request request;
00083 Response response;
00084
00085 typedef Request RequestType;
00086 typedef Response ResponseType;
00087 };
00088 }
00089
00090 namespace ros
00091 {
00092 namespace message_traits
00093 {
00094 template<class ContainerAllocator> struct IsMessage< ::map_store::ListMapsRequest_<ContainerAllocator> > : public TrueType {};
00095 template<class ContainerAllocator> struct IsMessage< ::map_store::ListMapsRequest_<ContainerAllocator> const> : public TrueType {};
00096 template<class ContainerAllocator>
00097 struct MD5Sum< ::map_store::ListMapsRequest_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "d41d8cd98f00b204e9800998ecf8427e";
00101 }
00102
00103 static const char* value(const ::map_store::ListMapsRequest_<ContainerAllocator> &) { return value(); }
00104 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00105 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00106 };
00107
00108 template<class ContainerAllocator>
00109 struct DataType< ::map_store::ListMapsRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "map_store/ListMapsRequest";
00113 }
00114
00115 static const char* value(const ::map_store::ListMapsRequest_<ContainerAllocator> &) { return value(); }
00116 };
00117
00118 template<class ContainerAllocator>
00119 struct Definition< ::map_store::ListMapsRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "\n\
00123 \n\
00124 \n\
00125 \n\
00126 ";
00127 }
00128
00129 static const char* value(const ::map_store::ListMapsRequest_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator> struct IsFixedSize< ::map_store::ListMapsRequest_<ContainerAllocator> > : public TrueType {};
00133 }
00134 }
00135
00136
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::map_store::ListMapsResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::map_store::ListMapsResponse_<ContainerAllocator> const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::map_store::ListMapsResponse_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "ca5a33dd106a2c24cfd54c927d214957";
00148 }
00149
00150 static const char* value(const ::map_store::ListMapsResponse_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0xca5a33dd106a2c24ULL;
00152 static const uint64_t static_value2 = 0xcfd54c927d214957ULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::map_store::ListMapsResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "map_store/ListMapsResponse";
00160 }
00161
00162 static const char* value(const ::map_store::ListMapsResponse_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::map_store::ListMapsResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "MapListEntry[] map_list\n\
00170 \n\
00171 \n\
00172 ================================================================================\n\
00173 MSG: map_store/MapListEntry\n\
00174 # One entry in a list of maps.\n\
00175 \n\
00176 # Naming a map is optional.\n\
00177 string name\n\
00178 \n\
00179 # Maps made by the make-a-map app are given a session ID, which is the\n\
00180 # time when the map-making session was started, expressed as seconds\n\
00181 # since the epoch and converted to a string.\n\
00182 string session_id\n\
00183 \n\
00184 # Creation time of this map, in seconds since the epoch.\n\
00185 int64 date\n\
00186 \n\
00187 # Unique ID of this map.\n\
00188 string map_id\n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::map_store::ListMapsResponse_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 }
00197 }
00198
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203
00204 template<class ContainerAllocator> struct Serializer< ::map_store::ListMapsRequest_<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
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220
00221 template<class ContainerAllocator> struct Serializer< ::map_store::ListMapsResponse_<ContainerAllocator> >
00222 {
00223 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224 {
00225 stream.next(m.map_list);
00226 }
00227
00228 ROS_DECLARE_ALLINONE_SERIALIZER;
00229 };
00230 }
00231 }
00232
00233 namespace ros
00234 {
00235 namespace service_traits
00236 {
00237 template<>
00238 struct MD5Sum<map_store::ListMaps> {
00239 static const char* value()
00240 {
00241 return "ca5a33dd106a2c24cfd54c927d214957";
00242 }
00243
00244 static const char* value(const map_store::ListMaps&) { return value(); }
00245 };
00246
00247 template<>
00248 struct DataType<map_store::ListMaps> {
00249 static const char* value()
00250 {
00251 return "map_store/ListMaps";
00252 }
00253
00254 static const char* value(const map_store::ListMaps&) { return value(); }
00255 };
00256
00257 template<class ContainerAllocator>
00258 struct MD5Sum<map_store::ListMapsRequest_<ContainerAllocator> > {
00259 static const char* value()
00260 {
00261 return "ca5a33dd106a2c24cfd54c927d214957";
00262 }
00263
00264 static const char* value(const map_store::ListMapsRequest_<ContainerAllocator> &) { return value(); }
00265 };
00266
00267 template<class ContainerAllocator>
00268 struct DataType<map_store::ListMapsRequest_<ContainerAllocator> > {
00269 static const char* value()
00270 {
00271 return "map_store/ListMaps";
00272 }
00273
00274 static const char* value(const map_store::ListMapsRequest_<ContainerAllocator> &) { return value(); }
00275 };
00276
00277 template<class ContainerAllocator>
00278 struct MD5Sum<map_store::ListMapsResponse_<ContainerAllocator> > {
00279 static const char* value()
00280 {
00281 return "ca5a33dd106a2c24cfd54c927d214957";
00282 }
00283
00284 static const char* value(const map_store::ListMapsResponse_<ContainerAllocator> &) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct DataType<map_store::ListMapsResponse_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "map_store/ListMaps";
00292 }
00293
00294 static const char* value(const map_store::ListMapsResponse_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 }
00298 }
00299
00300 #endif // MAP_STORE_SERVICE_LISTMAPS_H
00301