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


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