Go to the documentation of this file.00001
00002 #ifndef TIDYUP_MSGS_MESSAGE_WIPEGOAL_H
00003 #define TIDYUP_MSGS_MESSAGE_WIPEGOAL_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 "geometry_msgs/PointStamped.h"
00018
00019 namespace tidyup_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct WipeGoal_ {
00023 typedef WipeGoal_<ContainerAllocator> Type;
00024
00025 WipeGoal_()
00026 : name()
00027 , box_size(0.0)
00028 , spot()
00029 {
00030 }
00031
00032 WipeGoal_(const ContainerAllocator& _alloc)
00033 : name(_alloc)
00034 , box_size(0.0)
00035 , spot(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00041
00042 typedef double _box_size_type;
00043 double box_size;
00044
00045 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _spot_type;
00046 ::geometry_msgs::PointStamped_<ContainerAllocator> spot;
00047
00048
00049 typedef boost::shared_ptr< ::tidyup_msgs::WipeGoal_<ContainerAllocator> > Ptr;
00050 typedef boost::shared_ptr< ::tidyup_msgs::WipeGoal_<ContainerAllocator> const> ConstPtr;
00051 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 };
00053 typedef ::tidyup_msgs::WipeGoal_<std::allocator<void> > WipeGoal;
00054
00055 typedef boost::shared_ptr< ::tidyup_msgs::WipeGoal> WipeGoalPtr;
00056 typedef boost::shared_ptr< ::tidyup_msgs::WipeGoal const> WipeGoalConstPtr;
00057
00058
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const ::tidyup_msgs::WipeGoal_<ContainerAllocator> & v)
00061 {
00062 ros::message_operations::Printer< ::tidyup_msgs::WipeGoal_<ContainerAllocator> >::stream(s, "", v);
00063 return s;}
00064
00065 }
00066
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::WipeGoal_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::tidyup_msgs::WipeGoal_<ContainerAllocator> const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::tidyup_msgs::WipeGoal_<ContainerAllocator> > {
00075 static const char* value()
00076 {
00077 return "6b9e175bde25d113f0ca6c243850908f";
00078 }
00079
00080 static const char* value(const ::tidyup_msgs::WipeGoal_<ContainerAllocator> &) { return value(); }
00081 static const uint64_t static_value1 = 0x6b9e175bde25d113ULL;
00082 static const uint64_t static_value2 = 0xf0ca6c243850908fULL;
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct DataType< ::tidyup_msgs::WipeGoal_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "tidyup_msgs/WipeGoal";
00090 }
00091
00092 static const char* value(const ::tidyup_msgs::WipeGoal_<ContainerAllocator> &) { return value(); }
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct Definition< ::tidyup_msgs::WipeGoal_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "string name\n\
00100 float64 box_size\n\
00101 geometry_msgs/PointStamped spot\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/PointStamped\n\
00105 # This represents a Point with reference coordinate frame and timestamp\n\
00106 Header header\n\
00107 Point point\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: std_msgs/Header\n\
00111 # Standard metadata for higher-level stamped data types.\n\
00112 # This is generally used to communicate timestamped data \n\
00113 # in a particular coordinate frame.\n\
00114 # \n\
00115 # sequence ID: consecutively increasing ID \n\
00116 uint32 seq\n\
00117 #Two-integer timestamp that is expressed as:\n\
00118 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00119 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00120 # time-handling sugar is provided by the client library\n\
00121 time stamp\n\
00122 #Frame this data is associated with\n\
00123 # 0: no frame\n\
00124 # 1: global frame\n\
00125 string frame_id\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Point\n\
00129 # This contains the position of a point in free space\n\
00130 float64 x\n\
00131 float64 y\n\
00132 float64 z\n\
00133 \n\
00134 ";
00135 }
00136
00137 static const char* value(const ::tidyup_msgs::WipeGoal_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 }
00141 }
00142
00143 namespace ros
00144 {
00145 namespace serialization
00146 {
00147
00148 template<class ContainerAllocator> struct Serializer< ::tidyup_msgs::WipeGoal_<ContainerAllocator> >
00149 {
00150 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00151 {
00152 stream.next(m.name);
00153 stream.next(m.box_size);
00154 stream.next(m.spot);
00155 }
00156
00157 ROS_DECLARE_ALLINONE_SERIALIZER;
00158 };
00159 }
00160 }
00161
00162 namespace ros
00163 {
00164 namespace message_operations
00165 {
00166
00167 template<class ContainerAllocator>
00168 struct Printer< ::tidyup_msgs::WipeGoal_<ContainerAllocator> >
00169 {
00170 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::tidyup_msgs::WipeGoal_<ContainerAllocator> & v)
00171 {
00172 s << indent << "name: ";
00173 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.name);
00174 s << indent << "box_size: ";
00175 Printer<double>::stream(s, indent + " ", v.box_size);
00176 s << indent << "spot: ";
00177 s << std::endl;
00178 Printer< ::geometry_msgs::PointStamped_<ContainerAllocator> >::stream(s, indent + " ", v.spot);
00179 }
00180 };
00181
00182
00183 }
00184 }
00185
00186 #endif // TIDYUP_MSGS_MESSAGE_WIPEGOAL_H
00187