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


auction_srvs
Author(s): Joao Manuel Leitao Quintas
autogenerated on Mon Jan 6 2014 11:25:32