00001
00002 #ifndef AUCTION_SRVS_SERVICE_AUCTIONSERVICERESET_H
00003 #define AUCTION_SRVS_SERVICE_AUCTIONSERVICERESET_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 #include "auction_msgs/Auction.h"
00020
00021
00022
00023 namespace auction_srvs
00024 {
00025 template <class ContainerAllocator>
00026 struct AuctionServiceResetRequest_ {
00027 typedef AuctionServiceResetRequest_<ContainerAllocator> Type;
00028
00029 AuctionServiceResetRequest_()
00030 : role()
00031 , auction_type()
00032 , sending_node()
00033 , nodes_collected()
00034 , auction_data()
00035 {
00036 }
00037
00038 AuctionServiceResetRequest_(const ContainerAllocator& _alloc)
00039 : role(_alloc)
00040 , auction_type(_alloc)
00041 , sending_node(_alloc)
00042 , nodes_collected(_alloc)
00043 , auction_data(_alloc)
00044 {
00045 }
00046
00047 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _role_type;
00048 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > role;
00049
00050 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _auction_type_type;
00051 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > auction_type;
00052
00053 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _sending_node_type;
00054 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > sending_node;
00055
00056 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _nodes_collected_type;
00057 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > nodes_collected;
00058
00059 typedef ::auction_msgs::Auction_<ContainerAllocator> _auction_data_type;
00060 ::auction_msgs::Auction_<ContainerAllocator> auction_data;
00061
00062
00063 private:
00064 static const char* __s_getDataType_() { return "auction_srvs/AuctionServiceResetRequest"; }
00065 public:
00066 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00067
00068 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00069
00070 private:
00071 static const char* __s_getMD5Sum_() { return "71cdc8b8f8b1a628ff5e78f4bb4202a8"; }
00072 public:
00073 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00074
00075 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00076
00077 private:
00078 static const char* __s_getServerMD5Sum_() { return "4c61db6a7e5400f7a5137a2c8194bac9"; }
00079 public:
00080 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00081
00082 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00083
00084 private:
00085 static const char* __s_getMessageDefinition_() { return "\n\
00086 \n\
00087 \n\
00088 string role\n\
00089 string auction_type\n\
00090 string sending_node\n\
00091 string nodes_collected\n\
00092 auction_msgs/Auction auction_data\n\
00093 \n\
00094 \n\
00095 ================================================================================\n\
00096 MSG: auction_msgs/Auction\n\
00097 Header header\n\
00098 string command\n\
00099 string task_type_name\n\
00100 string subject\n\
00101 string metrics\n\
00102 duration length\n\
00103 geometry_msgs/Point task_location\n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: std_msgs/Header\n\
00107 # Standard metadata for higher-level stamped data types.\n\
00108 # This is generally used to communicate timestamped data \n\
00109 # in a particular coordinate frame.\n\
00110 # \n\
00111 # sequence ID: consecutively increasing ID \n\
00112 uint32 seq\n\
00113 #Two-integer timestamp that is expressed as:\n\
00114 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00115 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00116 # time-handling sugar is provided by the client library\n\
00117 time stamp\n\
00118 #Frame this data is associated with\n\
00119 # 0: no frame\n\
00120 # 1: global frame\n\
00121 string frame_id\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Point\n\
00125 # This contains the position of a point in free space\n\
00126 float64 x\n\
00127 float64 y\n\
00128 float64 z\n\
00129 \n\
00130 "; }
00131 public:
00132 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00133
00134 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00135
00136 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00137 {
00138 ros::serialization::OStream stream(write_ptr, 1000000000);
00139 ros::serialization::serialize(stream, role);
00140 ros::serialization::serialize(stream, auction_type);
00141 ros::serialization::serialize(stream, sending_node);
00142 ros::serialization::serialize(stream, nodes_collected);
00143 ros::serialization::serialize(stream, auction_data);
00144 return stream.getData();
00145 }
00146
00147 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00148 {
00149 ros::serialization::IStream stream(read_ptr, 1000000000);
00150 ros::serialization::deserialize(stream, role);
00151 ros::serialization::deserialize(stream, auction_type);
00152 ros::serialization::deserialize(stream, sending_node);
00153 ros::serialization::deserialize(stream, nodes_collected);
00154 ros::serialization::deserialize(stream, auction_data);
00155 return stream.getData();
00156 }
00157
00158 ROS_DEPRECATED virtual uint32_t serializationLength() const
00159 {
00160 uint32_t size = 0;
00161 size += ros::serialization::serializationLength(role);
00162 size += ros::serialization::serializationLength(auction_type);
00163 size += ros::serialization::serializationLength(sending_node);
00164 size += ros::serialization::serializationLength(nodes_collected);
00165 size += ros::serialization::serializationLength(auction_data);
00166 return size;
00167 }
00168
00169 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > Ptr;
00170 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> const> ConstPtr;
00171 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00172 };
00173 typedef ::auction_srvs::AuctionServiceResetRequest_<std::allocator<void> > AuctionServiceResetRequest;
00174
00175 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetRequest> AuctionServiceResetRequestPtr;
00176 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetRequest const> AuctionServiceResetRequestConstPtr;
00177
00178
00179 template <class ContainerAllocator>
00180 struct AuctionServiceResetResponse_ {
00181 typedef AuctionServiceResetResponse_<ContainerAllocator> Type;
00182
00183 AuctionServiceResetResponse_()
00184 : response_info()
00185 {
00186 }
00187
00188 AuctionServiceResetResponse_(const ContainerAllocator& _alloc)
00189 : response_info(_alloc)
00190 {
00191 }
00192
00193 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _response_info_type;
00194 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > response_info;
00195
00196
00197 private:
00198 static const char* __s_getDataType_() { return "auction_srvs/AuctionServiceResetResponse"; }
00199 public:
00200 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00201
00202 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00203
00204 private:
00205 static const char* __s_getMD5Sum_() { return "3807fca4b87e6d8139990870471dd195"; }
00206 public:
00207 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00208
00209 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00210
00211 private:
00212 static const char* __s_getServerMD5Sum_() { return "4c61db6a7e5400f7a5137a2c8194bac9"; }
00213 public:
00214 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00215
00216 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00217
00218 private:
00219 static const char* __s_getMessageDefinition_() { return "\n\
00220 \n\
00221 \n\
00222 string response_info\n\
00223 \n\
00224 "; }
00225 public:
00226 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00227
00228 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00229
00230 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00231 {
00232 ros::serialization::OStream stream(write_ptr, 1000000000);
00233 ros::serialization::serialize(stream, response_info);
00234 return stream.getData();
00235 }
00236
00237 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00238 {
00239 ros::serialization::IStream stream(read_ptr, 1000000000);
00240 ros::serialization::deserialize(stream, response_info);
00241 return stream.getData();
00242 }
00243
00244 ROS_DEPRECATED virtual uint32_t serializationLength() const
00245 {
00246 uint32_t size = 0;
00247 size += ros::serialization::serializationLength(response_info);
00248 return size;
00249 }
00250
00251 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > Ptr;
00252 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> const> ConstPtr;
00253 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00254 };
00255 typedef ::auction_srvs::AuctionServiceResetResponse_<std::allocator<void> > AuctionServiceResetResponse;
00256
00257 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetResponse> AuctionServiceResetResponsePtr;
00258 typedef boost::shared_ptr< ::auction_srvs::AuctionServiceResetResponse const> AuctionServiceResetResponseConstPtr;
00259
00260 struct AuctionServiceReset
00261 {
00262
00263 typedef AuctionServiceResetRequest Request;
00264 typedef AuctionServiceResetResponse Response;
00265 Request request;
00266 Response response;
00267
00268 typedef Request RequestType;
00269 typedef Response ResponseType;
00270 };
00271 }
00272
00273 namespace ros
00274 {
00275 namespace message_traits
00276 {
00277 template<class ContainerAllocator> struct IsMessage< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > : public TrueType {};
00278 template<class ContainerAllocator> struct IsMessage< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> const> : public TrueType {};
00279 template<class ContainerAllocator>
00280 struct MD5Sum< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "71cdc8b8f8b1a628ff5e78f4bb4202a8";
00284 }
00285
00286 static const char* value(const ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> &) { return value(); }
00287 static const uint64_t static_value1 = 0x71cdc8b8f8b1a628ULL;
00288 static const uint64_t static_value2 = 0xff5e78f4bb4202a8ULL;
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct DataType< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "auction_srvs/AuctionServiceResetRequest";
00296 }
00297
00298 static const char* value(const ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct Definition< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "\n\
00306 \n\
00307 \n\
00308 string role\n\
00309 string auction_type\n\
00310 string sending_node\n\
00311 string nodes_collected\n\
00312 auction_msgs/Auction auction_data\n\
00313 \n\
00314 \n\
00315 ================================================================================\n\
00316 MSG: auction_msgs/Auction\n\
00317 Header header\n\
00318 string command\n\
00319 string task_type_name\n\
00320 string subject\n\
00321 string metrics\n\
00322 duration length\n\
00323 geometry_msgs/Point task_location\n\
00324 \n\
00325 ================================================================================\n\
00326 MSG: std_msgs/Header\n\
00327 # Standard metadata for higher-level stamped data types.\n\
00328 # This is generally used to communicate timestamped data \n\
00329 # in a particular coordinate frame.\n\
00330 # \n\
00331 # sequence ID: consecutively increasing ID \n\
00332 uint32 seq\n\
00333 #Two-integer timestamp that is expressed as:\n\
00334 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00335 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00336 # time-handling sugar is provided by the client library\n\
00337 time stamp\n\
00338 #Frame this data is associated with\n\
00339 # 0: no frame\n\
00340 # 1: global frame\n\
00341 string frame_id\n\
00342 \n\
00343 ================================================================================\n\
00344 MSG: geometry_msgs/Point\n\
00345 # This contains the position of a point in free space\n\
00346 float64 x\n\
00347 float64 y\n\
00348 float64 z\n\
00349 \n\
00350 ";
00351 }
00352
00353 static const char* value(const ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> &) { return value(); }
00354 };
00355
00356 }
00357 }
00358
00359
00360 namespace ros
00361 {
00362 namespace message_traits
00363 {
00364 template<class ContainerAllocator> struct IsMessage< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > : public TrueType {};
00365 template<class ContainerAllocator> struct IsMessage< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> const> : public TrueType {};
00366 template<class ContainerAllocator>
00367 struct MD5Sum< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > {
00368 static const char* value()
00369 {
00370 return "3807fca4b87e6d8139990870471dd195";
00371 }
00372
00373 static const char* value(const ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> &) { return value(); }
00374 static const uint64_t static_value1 = 0x3807fca4b87e6d81ULL;
00375 static const uint64_t static_value2 = 0x39990870471dd195ULL;
00376 };
00377
00378 template<class ContainerAllocator>
00379 struct DataType< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > {
00380 static const char* value()
00381 {
00382 return "auction_srvs/AuctionServiceResetResponse";
00383 }
00384
00385 static const char* value(const ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> &) { return value(); }
00386 };
00387
00388 template<class ContainerAllocator>
00389 struct Definition< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > {
00390 static const char* value()
00391 {
00392 return "\n\
00393 \n\
00394 \n\
00395 string response_info\n\
00396 \n\
00397 ";
00398 }
00399
00400 static const char* value(const ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> &) { return value(); }
00401 };
00402
00403 }
00404 }
00405
00406 namespace ros
00407 {
00408 namespace serialization
00409 {
00410
00411 template<class ContainerAllocator> struct Serializer< ::auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> >
00412 {
00413 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00414 {
00415 stream.next(m.role);
00416 stream.next(m.auction_type);
00417 stream.next(m.sending_node);
00418 stream.next(m.nodes_collected);
00419 stream.next(m.auction_data);
00420 }
00421
00422 ROS_DECLARE_ALLINONE_SERIALIZER;
00423 };
00424 }
00425 }
00426
00427
00428 namespace ros
00429 {
00430 namespace serialization
00431 {
00432
00433 template<class ContainerAllocator> struct Serializer< ::auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> >
00434 {
00435 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00436 {
00437 stream.next(m.response_info);
00438 }
00439
00440 ROS_DECLARE_ALLINONE_SERIALIZER;
00441 };
00442 }
00443 }
00444
00445 namespace ros
00446 {
00447 namespace service_traits
00448 {
00449 template<>
00450 struct MD5Sum<auction_srvs::AuctionServiceReset> {
00451 static const char* value()
00452 {
00453 return "4c61db6a7e5400f7a5137a2c8194bac9";
00454 }
00455
00456 static const char* value(const auction_srvs::AuctionServiceReset&) { return value(); }
00457 };
00458
00459 template<>
00460 struct DataType<auction_srvs::AuctionServiceReset> {
00461 static const char* value()
00462 {
00463 return "auction_srvs/AuctionServiceReset";
00464 }
00465
00466 static const char* value(const auction_srvs::AuctionServiceReset&) { return value(); }
00467 };
00468
00469 template<class ContainerAllocator>
00470 struct MD5Sum<auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > {
00471 static const char* value()
00472 {
00473 return "4c61db6a7e5400f7a5137a2c8194bac9";
00474 }
00475
00476 static const char* value(const auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> &) { return value(); }
00477 };
00478
00479 template<class ContainerAllocator>
00480 struct DataType<auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> > {
00481 static const char* value()
00482 {
00483 return "auction_srvs/AuctionServiceReset";
00484 }
00485
00486 static const char* value(const auction_srvs::AuctionServiceResetRequest_<ContainerAllocator> &) { return value(); }
00487 };
00488
00489 template<class ContainerAllocator>
00490 struct MD5Sum<auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > {
00491 static const char* value()
00492 {
00493 return "4c61db6a7e5400f7a5137a2c8194bac9";
00494 }
00495
00496 static const char* value(const auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> &) { return value(); }
00497 };
00498
00499 template<class ContainerAllocator>
00500 struct DataType<auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> > {
00501 static const char* value()
00502 {
00503 return "auction_srvs/AuctionServiceReset";
00504 }
00505
00506 static const char* value(const auction_srvs::AuctionServiceResetResponse_<ContainerAllocator> &) { return value(); }
00507 };
00508
00509 }
00510 }
00511
00512 #endif // AUCTION_SRVS_SERVICE_AUCTIONSERVICERESET_H
00513