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