Auction.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_msgs/msg/Auction.msg */
00002 #ifndef AUCTION_MSGS_MESSAGE_AUCTION_H
00003 #define AUCTION_MSGS_MESSAGE_AUCTION_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Point.h"
00019 
00020 namespace auction_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct Auction_ {
00024   typedef Auction_<ContainerAllocator> Type;
00025 
00026   Auction_()
00027   : header()
00028   , command()
00029   , task_type_name()
00030   , subject()
00031   , metrics()
00032   , length()
00033   , task_location()
00034   {
00035   }
00036 
00037   Auction_(const ContainerAllocator& _alloc)
00038   : header(_alloc)
00039   , command(_alloc)
00040   , task_type_name(_alloc)
00041   , subject(_alloc)
00042   , metrics(_alloc)
00043   , length()
00044   , task_location(_alloc)
00045   {
00046   }
00047 
00048   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00049    ::std_msgs::Header_<ContainerAllocator>  header;
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _command_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  command;
00053 
00054   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _task_type_name_type;
00055   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  task_type_name;
00056 
00057   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _subject_type;
00058   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  subject;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _metrics_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  metrics;
00062 
00063   typedef ros::Duration _length_type;
00064   ros::Duration length;
00065 
00066   typedef  ::geometry_msgs::Point_<ContainerAllocator>  _task_location_type;
00067    ::geometry_msgs::Point_<ContainerAllocator>  task_location;
00068 
00069 
00070 private:
00071   static const char* __s_getDataType_() { return "auction_msgs/Auction"; }
00072 public:
00073   ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00074 
00075   ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00076 
00077 private:
00078   static const char* __s_getMD5Sum_() { return "003387503e87218848189bfdbbf986d1"; }
00079 public:
00080   ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00081 
00082   ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00083 
00084 private:
00085   static const char* __s_getMessageDefinition_() { return "Header header\n\
00086 string command\n\
00087 string task_type_name\n\
00088 string subject\n\
00089 string metrics\n\
00090 duration length\n\
00091 geometry_msgs/Point task_location\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: std_msgs/Header\n\
00095 # Standard metadata for higher-level stamped data types.\n\
00096 # This is generally used to communicate timestamped data \n\
00097 # in a particular coordinate frame.\n\
00098 # \n\
00099 # sequence ID: consecutively increasing ID \n\
00100 uint32 seq\n\
00101 #Two-integer timestamp that is expressed as:\n\
00102 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00103 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00104 # time-handling sugar is provided by the client library\n\
00105 time stamp\n\
00106 #Frame this data is associated with\n\
00107 # 0: no frame\n\
00108 # 1: global frame\n\
00109 string frame_id\n\
00110 \n\
00111 ================================================================================\n\
00112 MSG: geometry_msgs/Point\n\
00113 # This contains the position of a point in free space\n\
00114 float64 x\n\
00115 float64 y\n\
00116 float64 z\n\
00117 \n\
00118 "; }
00119 public:
00120   ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00121 
00122   ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00123 
00124   ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00125   {
00126     ros::serialization::OStream stream(write_ptr, 1000000000);
00127     ros::serialization::serialize(stream, header);
00128     ros::serialization::serialize(stream, command);
00129     ros::serialization::serialize(stream, task_type_name);
00130     ros::serialization::serialize(stream, subject);
00131     ros::serialization::serialize(stream, metrics);
00132     ros::serialization::serialize(stream, length);
00133     ros::serialization::serialize(stream, task_location);
00134     return stream.getData();
00135   }
00136 
00137   ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00138   {
00139     ros::serialization::IStream stream(read_ptr, 1000000000);
00140     ros::serialization::deserialize(stream, header);
00141     ros::serialization::deserialize(stream, command);
00142     ros::serialization::deserialize(stream, task_type_name);
00143     ros::serialization::deserialize(stream, subject);
00144     ros::serialization::deserialize(stream, metrics);
00145     ros::serialization::deserialize(stream, length);
00146     ros::serialization::deserialize(stream, task_location);
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(header);
00154     size += ros::serialization::serializationLength(command);
00155     size += ros::serialization::serializationLength(task_type_name);
00156     size += ros::serialization::serializationLength(subject);
00157     size += ros::serialization::serializationLength(metrics);
00158     size += ros::serialization::serializationLength(length);
00159     size += ros::serialization::serializationLength(task_location);
00160     return size;
00161   }
00162 
00163   typedef boost::shared_ptr< ::auction_msgs::Auction_<ContainerAllocator> > Ptr;
00164   typedef boost::shared_ptr< ::auction_msgs::Auction_<ContainerAllocator>  const> ConstPtr;
00165   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00166 }; // struct Auction
00167 typedef  ::auction_msgs::Auction_<std::allocator<void> > Auction;
00168 
00169 typedef boost::shared_ptr< ::auction_msgs::Auction> AuctionPtr;
00170 typedef boost::shared_ptr< ::auction_msgs::Auction const> AuctionConstPtr;
00171 
00172 
00173 template<typename ContainerAllocator>
00174 std::ostream& operator<<(std::ostream& s, const  ::auction_msgs::Auction_<ContainerAllocator> & v)
00175 {
00176   ros::message_operations::Printer< ::auction_msgs::Auction_<ContainerAllocator> >::stream(s, "", v);
00177   return s;}
00178 
00179 } // namespace auction_msgs
00180 
00181 namespace ros
00182 {
00183 namespace message_traits
00184 {
00185 template<class ContainerAllocator> struct IsMessage< ::auction_msgs::Auction_<ContainerAllocator> > : public TrueType {};
00186 template<class ContainerAllocator> struct IsMessage< ::auction_msgs::Auction_<ContainerAllocator>  const> : public TrueType {};
00187 template<class ContainerAllocator>
00188 struct MD5Sum< ::auction_msgs::Auction_<ContainerAllocator> > {
00189   static const char* value() 
00190   {
00191     return "003387503e87218848189bfdbbf986d1";
00192   }
00193 
00194   static const char* value(const  ::auction_msgs::Auction_<ContainerAllocator> &) { return value(); } 
00195   static const uint64_t static_value1 = 0x003387503e872188ULL;
00196   static const uint64_t static_value2 = 0x48189bfdbbf986d1ULL;
00197 };
00198 
00199 template<class ContainerAllocator>
00200 struct DataType< ::auction_msgs::Auction_<ContainerAllocator> > {
00201   static const char* value() 
00202   {
00203     return "auction_msgs/Auction";
00204   }
00205 
00206   static const char* value(const  ::auction_msgs::Auction_<ContainerAllocator> &) { return value(); } 
00207 };
00208 
00209 template<class ContainerAllocator>
00210 struct Definition< ::auction_msgs::Auction_<ContainerAllocator> > {
00211   static const char* value() 
00212   {
00213     return "Header header\n\
00214 string command\n\
00215 string task_type_name\n\
00216 string subject\n\
00217 string metrics\n\
00218 duration length\n\
00219 geometry_msgs/Point task_location\n\
00220 \n\
00221 ================================================================================\n\
00222 MSG: std_msgs/Header\n\
00223 # Standard metadata for higher-level stamped data types.\n\
00224 # This is generally used to communicate timestamped data \n\
00225 # in a particular coordinate frame.\n\
00226 # \n\
00227 # sequence ID: consecutively increasing ID \n\
00228 uint32 seq\n\
00229 #Two-integer timestamp that is expressed as:\n\
00230 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00231 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00232 # time-handling sugar is provided by the client library\n\
00233 time stamp\n\
00234 #Frame this data is associated with\n\
00235 # 0: no frame\n\
00236 # 1: global frame\n\
00237 string frame_id\n\
00238 \n\
00239 ================================================================================\n\
00240 MSG: geometry_msgs/Point\n\
00241 # This contains the position of a point in free space\n\
00242 float64 x\n\
00243 float64 y\n\
00244 float64 z\n\
00245 \n\
00246 ";
00247   }
00248 
00249   static const char* value(const  ::auction_msgs::Auction_<ContainerAllocator> &) { return value(); } 
00250 };
00251 
00252 template<class ContainerAllocator> struct HasHeader< ::auction_msgs::Auction_<ContainerAllocator> > : public TrueType {};
00253 template<class ContainerAllocator> struct HasHeader< const ::auction_msgs::Auction_<ContainerAllocator> > : public TrueType {};
00254 } // namespace message_traits
00255 } // namespace ros
00256 
00257 namespace ros
00258 {
00259 namespace serialization
00260 {
00261 
00262 template<class ContainerAllocator> struct Serializer< ::auction_msgs::Auction_<ContainerAllocator> >
00263 {
00264   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00265   {
00266     stream.next(m.header);
00267     stream.next(m.command);
00268     stream.next(m.task_type_name);
00269     stream.next(m.subject);
00270     stream.next(m.metrics);
00271     stream.next(m.length);
00272     stream.next(m.task_location);
00273   }
00274 
00275   ROS_DECLARE_ALLINONE_SERIALIZER;
00276 }; // struct Auction_
00277 } // namespace serialization
00278 } // namespace ros
00279 
00280 namespace ros
00281 {
00282 namespace message_operations
00283 {
00284 
00285 template<class ContainerAllocator>
00286 struct Printer< ::auction_msgs::Auction_<ContainerAllocator> >
00287 {
00288   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::auction_msgs::Auction_<ContainerAllocator> & v) 
00289   {
00290     s << indent << "header: ";
00291 s << std::endl;
00292     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00293     s << indent << "command: ";
00294     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.command);
00295     s << indent << "task_type_name: ";
00296     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.task_type_name);
00297     s << indent << "subject: ";
00298     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.subject);
00299     s << indent << "metrics: ";
00300     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.metrics);
00301     s << indent << "length: ";
00302     Printer<ros::Duration>::stream(s, indent + "  ", v.length);
00303     s << indent << "task_location: ";
00304 s << std::endl;
00305     Printer< ::geometry_msgs::Point_<ContainerAllocator> >::stream(s, indent + "  ", v.task_location);
00306   }
00307 };
00308 
00309 
00310 } // namespace message_operations
00311 } // namespace ros
00312 
00313 #endif // AUCTION_MSGS_MESSAGE_AUCTION_H
00314 


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