00001
00002 #ifndef WAREHOUSE_SERVICE_DROPDB_H
00003 #define WAREHOUSE_SERVICE_DROPDB_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/service_traits.h"
00014
00015
00016
00017
00018 namespace warehouse
00019 {
00020 template <class ContainerAllocator>
00021 struct DropDBRequest_ : public ros::Message
00022 {
00023 typedef DropDBRequest_<ContainerAllocator> Type;
00024
00025 DropDBRequest_()
00026 : db_name()
00027 {
00028 }
00029
00030 DropDBRequest_(const ContainerAllocator& _alloc)
00031 : db_name(_alloc)
00032 {
00033 }
00034
00035 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _db_name_type;
00036 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > db_name;
00037
00038
00039 private:
00040 static const char* __s_getDataType_() { return "warehouse/DropDBRequest"; }
00041 public:
00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00043
00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00045
00046 private:
00047 static const char* __s_getMD5Sum_() { return "44f07d812d03f1115371671aefc84215"; }
00048 public:
00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00050
00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00052
00053 private:
00054 static const char* __s_getServerMD5Sum_() { return "44f07d812d03f1115371671aefc84215"; }
00055 public:
00056 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00057
00058 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00059
00060 private:
00061 static const char* __s_getMessageDefinition_() { return "\n\
00062 string db_name\n\
00063 \n\
00064 "; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00067
00068 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00069
00070 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00071 {
00072 ros::serialization::OStream stream(write_ptr, 1000000000);
00073 ros::serialization::serialize(stream, db_name);
00074 return stream.getData();
00075 }
00076
00077 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00078 {
00079 ros::serialization::IStream stream(read_ptr, 1000000000);
00080 ros::serialization::deserialize(stream, db_name);
00081 return stream.getData();
00082 }
00083
00084 ROS_DEPRECATED virtual uint32_t serializationLength() const
00085 {
00086 uint32_t size = 0;
00087 size += ros::serialization::serializationLength(db_name);
00088 return size;
00089 }
00090
00091 typedef boost::shared_ptr< ::warehouse::DropDBRequest_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::warehouse::DropDBRequest_<ContainerAllocator> const> ConstPtr;
00093 };
00094 typedef ::warehouse::DropDBRequest_<std::allocator<void> > DropDBRequest;
00095
00096 typedef boost::shared_ptr< ::warehouse::DropDBRequest> DropDBRequestPtr;
00097 typedef boost::shared_ptr< ::warehouse::DropDBRequest const> DropDBRequestConstPtr;
00098
00099
00100 template <class ContainerAllocator>
00101 struct DropDBResponse_ : public ros::Message
00102 {
00103 typedef DropDBResponse_<ContainerAllocator> Type;
00104
00105 DropDBResponse_()
00106 {
00107 }
00108
00109 DropDBResponse_(const ContainerAllocator& _alloc)
00110 {
00111 }
00112
00113
00114 private:
00115 static const char* __s_getDataType_() { return "warehouse/DropDBResponse"; }
00116 public:
00117 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00118
00119 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00120
00121 private:
00122 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00123 public:
00124 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00125
00126 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00127
00128 private:
00129 static const char* __s_getServerMD5Sum_() { return "44f07d812d03f1115371671aefc84215"; }
00130 public:
00131 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00132
00133 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00134
00135 private:
00136 static const char* __s_getMessageDefinition_() { return "\n\
00137 \n\
00138 "; }
00139 public:
00140 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00141
00142 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00143
00144 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00145 {
00146 ros::serialization::OStream stream(write_ptr, 1000000000);
00147 return stream.getData();
00148 }
00149
00150 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00151 {
00152 ros::serialization::IStream stream(read_ptr, 1000000000);
00153 return stream.getData();
00154 }
00155
00156 ROS_DEPRECATED virtual uint32_t serializationLength() const
00157 {
00158 uint32_t size = 0;
00159 return size;
00160 }
00161
00162 typedef boost::shared_ptr< ::warehouse::DropDBResponse_<ContainerAllocator> > Ptr;
00163 typedef boost::shared_ptr< ::warehouse::DropDBResponse_<ContainerAllocator> const> ConstPtr;
00164 };
00165 typedef ::warehouse::DropDBResponse_<std::allocator<void> > DropDBResponse;
00166
00167 typedef boost::shared_ptr< ::warehouse::DropDBResponse> DropDBResponsePtr;
00168 typedef boost::shared_ptr< ::warehouse::DropDBResponse const> DropDBResponseConstPtr;
00169
00170 struct DropDB
00171 {
00172
00173 typedef DropDBRequest Request;
00174 typedef DropDBResponse Response;
00175 Request request;
00176 Response response;
00177
00178 typedef Request RequestType;
00179 typedef Response ResponseType;
00180 };
00181 }
00182
00183 namespace ros
00184 {
00185 namespace message_traits
00186 {
00187 template<class ContainerAllocator>
00188 struct MD5Sum< ::warehouse::DropDBRequest_<ContainerAllocator> > {
00189 static const char* value()
00190 {
00191 return "44f07d812d03f1115371671aefc84215";
00192 }
00193
00194 static const char* value(const ::warehouse::DropDBRequest_<ContainerAllocator> &) { return value(); }
00195 static const uint64_t static_value1 = 0x44f07d812d03f111ULL;
00196 static const uint64_t static_value2 = 0x5371671aefc84215ULL;
00197 };
00198
00199 template<class ContainerAllocator>
00200 struct DataType< ::warehouse::DropDBRequest_<ContainerAllocator> > {
00201 static const char* value()
00202 {
00203 return "warehouse/DropDBRequest";
00204 }
00205
00206 static const char* value(const ::warehouse::DropDBRequest_<ContainerAllocator> &) { return value(); }
00207 };
00208
00209 template<class ContainerAllocator>
00210 struct Definition< ::warehouse::DropDBRequest_<ContainerAllocator> > {
00211 static const char* value()
00212 {
00213 return "\n\
00214 string db_name\n\
00215 \n\
00216 ";
00217 }
00218
00219 static const char* value(const ::warehouse::DropDBRequest_<ContainerAllocator> &) { return value(); }
00220 };
00221
00222 }
00223 }
00224
00225
00226 namespace ros
00227 {
00228 namespace message_traits
00229 {
00230 template<class ContainerAllocator>
00231 struct MD5Sum< ::warehouse::DropDBResponse_<ContainerAllocator> > {
00232 static const char* value()
00233 {
00234 return "d41d8cd98f00b204e9800998ecf8427e";
00235 }
00236
00237 static const char* value(const ::warehouse::DropDBResponse_<ContainerAllocator> &) { return value(); }
00238 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00239 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00240 };
00241
00242 template<class ContainerAllocator>
00243 struct DataType< ::warehouse::DropDBResponse_<ContainerAllocator> > {
00244 static const char* value()
00245 {
00246 return "warehouse/DropDBResponse";
00247 }
00248
00249 static const char* value(const ::warehouse::DropDBResponse_<ContainerAllocator> &) { return value(); }
00250 };
00251
00252 template<class ContainerAllocator>
00253 struct Definition< ::warehouse::DropDBResponse_<ContainerAllocator> > {
00254 static const char* value()
00255 {
00256 return "\n\
00257 \n\
00258 ";
00259 }
00260
00261 static const char* value(const ::warehouse::DropDBResponse_<ContainerAllocator> &) { return value(); }
00262 };
00263
00264 template<class ContainerAllocator> struct IsFixedSize< ::warehouse::DropDBResponse_<ContainerAllocator> > : public TrueType {};
00265 }
00266 }
00267
00268 namespace ros
00269 {
00270 namespace serialization
00271 {
00272
00273 template<class ContainerAllocator> struct Serializer< ::warehouse::DropDBRequest_<ContainerAllocator> >
00274 {
00275 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00276 {
00277 stream.next(m.db_name);
00278 }
00279
00280 ROS_DECLARE_ALLINONE_SERIALIZER;
00281 };
00282 }
00283 }
00284
00285
00286 namespace ros
00287 {
00288 namespace serialization
00289 {
00290
00291 template<class ContainerAllocator> struct Serializer< ::warehouse::DropDBResponse_<ContainerAllocator> >
00292 {
00293 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00294 {
00295 }
00296
00297 ROS_DECLARE_ALLINONE_SERIALIZER;
00298 };
00299 }
00300 }
00301
00302 namespace ros
00303 {
00304 namespace service_traits
00305 {
00306 template<>
00307 struct MD5Sum<warehouse::DropDB> {
00308 static const char* value()
00309 {
00310 return "44f07d812d03f1115371671aefc84215";
00311 }
00312
00313 static const char* value(const warehouse::DropDB&) { return value(); }
00314 };
00315
00316 template<>
00317 struct DataType<warehouse::DropDB> {
00318 static const char* value()
00319 {
00320 return "warehouse/DropDB";
00321 }
00322
00323 static const char* value(const warehouse::DropDB&) { return value(); }
00324 };
00325
00326 template<class ContainerAllocator>
00327 struct MD5Sum<warehouse::DropDBRequest_<ContainerAllocator> > {
00328 static const char* value()
00329 {
00330 return "44f07d812d03f1115371671aefc84215";
00331 }
00332
00333 static const char* value(const warehouse::DropDBRequest_<ContainerAllocator> &) { return value(); }
00334 };
00335
00336 template<class ContainerAllocator>
00337 struct DataType<warehouse::DropDBRequest_<ContainerAllocator> > {
00338 static const char* value()
00339 {
00340 return "warehouse/DropDB";
00341 }
00342
00343 static const char* value(const warehouse::DropDBRequest_<ContainerAllocator> &) { return value(); }
00344 };
00345
00346 template<class ContainerAllocator>
00347 struct MD5Sum<warehouse::DropDBResponse_<ContainerAllocator> > {
00348 static const char* value()
00349 {
00350 return "44f07d812d03f1115371671aefc84215";
00351 }
00352
00353 static const char* value(const warehouse::DropDBResponse_<ContainerAllocator> &) { return value(); }
00354 };
00355
00356 template<class ContainerAllocator>
00357 struct DataType<warehouse::DropDBResponse_<ContainerAllocator> > {
00358 static const char* value()
00359 {
00360 return "warehouse/DropDB";
00361 }
00362
00363 static const char* value(const warehouse::DropDBResponse_<ContainerAllocator> &) { return value(); }
00364 };
00365
00366 }
00367 }
00368
00369 #endif // WAREHOUSE_SERVICE_DROPDB_H
00370