$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-humanoid_walk/doc_stacks/2013-03-01_15-40-38.607083/humanoid_walk/walk_msgs/msg/Point2dStamped.msg */ 00002 #ifndef WALK_MSGS_MESSAGE_POINT2DSTAMPED_H 00003 #define WALK_MSGS_MESSAGE_POINT2DSTAMPED_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 "walk_msgs/Point2d.h" 00019 00020 namespace walk_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct Point2dStamped_ { 00024 typedef Point2dStamped_<ContainerAllocator> Type; 00025 00026 Point2dStamped_() 00027 : header() 00028 , point() 00029 { 00030 } 00031 00032 Point2dStamped_(const ContainerAllocator& _alloc) 00033 : header(_alloc) 00034 , point(_alloc) 00035 { 00036 } 00037 00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00039 ::std_msgs::Header_<ContainerAllocator> header; 00040 00041 typedef ::walk_msgs::Point2d_<ContainerAllocator> _point_type; 00042 ::walk_msgs::Point2d_<ContainerAllocator> point; 00043 00044 00045 private: 00046 static const char* __s_getDataType_() { return "walk_msgs/Point2dStamped"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00049 00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00051 00052 private: 00053 static const char* __s_getMD5Sum_() { return "9f7db918fde9989a73131d0d083d049d"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00061 Point2d point\n\ 00062 \n\ 00063 ================================================================================\n\ 00064 MSG: std_msgs/Header\n\ 00065 # Standard metadata for higher-level stamped data types.\n\ 00066 # This is generally used to communicate timestamped data \n\ 00067 # in a particular coordinate frame.\n\ 00068 # \n\ 00069 # sequence ID: consecutively increasing ID \n\ 00070 uint32 seq\n\ 00071 #Two-integer timestamp that is expressed as:\n\ 00072 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00073 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00074 # time-handling sugar is provided by the client library\n\ 00075 time stamp\n\ 00076 #Frame this data is associated with\n\ 00077 # 0: no frame\n\ 00078 # 1: global frame\n\ 00079 string frame_id\n\ 00080 \n\ 00081 ================================================================================\n\ 00082 MSG: walk_msgs/Point2d\n\ 00083 float64 x\n\ 00084 float64 y\n\ 00085 \n\ 00086 "; } 00087 public: 00088 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00089 00090 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00091 00092 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00093 { 00094 ros::serialization::OStream stream(write_ptr, 1000000000); 00095 ros::serialization::serialize(stream, header); 00096 ros::serialization::serialize(stream, point); 00097 return stream.getData(); 00098 } 00099 00100 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00101 { 00102 ros::serialization::IStream stream(read_ptr, 1000000000); 00103 ros::serialization::deserialize(stream, header); 00104 ros::serialization::deserialize(stream, point); 00105 return stream.getData(); 00106 } 00107 00108 ROS_DEPRECATED virtual uint32_t serializationLength() const 00109 { 00110 uint32_t size = 0; 00111 size += ros::serialization::serializationLength(header); 00112 size += ros::serialization::serializationLength(point); 00113 return size; 00114 } 00115 00116 typedef boost::shared_ptr< ::walk_msgs::Point2dStamped_<ContainerAllocator> > Ptr; 00117 typedef boost::shared_ptr< ::walk_msgs::Point2dStamped_<ContainerAllocator> const> ConstPtr; 00118 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00119 }; // struct Point2dStamped 00120 typedef ::walk_msgs::Point2dStamped_<std::allocator<void> > Point2dStamped; 00121 00122 typedef boost::shared_ptr< ::walk_msgs::Point2dStamped> Point2dStampedPtr; 00123 typedef boost::shared_ptr< ::walk_msgs::Point2dStamped const> Point2dStampedConstPtr; 00124 00125 00126 template<typename ContainerAllocator> 00127 std::ostream& operator<<(std::ostream& s, const ::walk_msgs::Point2dStamped_<ContainerAllocator> & v) 00128 { 00129 ros::message_operations::Printer< ::walk_msgs::Point2dStamped_<ContainerAllocator> >::stream(s, "", v); 00130 return s;} 00131 00132 } // namespace walk_msgs 00133 00134 namespace ros 00135 { 00136 namespace message_traits 00137 { 00138 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::Point2dStamped_<ContainerAllocator> > : public TrueType {}; 00139 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::Point2dStamped_<ContainerAllocator> const> : public TrueType {}; 00140 template<class ContainerAllocator> 00141 struct MD5Sum< ::walk_msgs::Point2dStamped_<ContainerAllocator> > { 00142 static const char* value() 00143 { 00144 return "9f7db918fde9989a73131d0d083d049d"; 00145 } 00146 00147 static const char* value(const ::walk_msgs::Point2dStamped_<ContainerAllocator> &) { return value(); } 00148 static const uint64_t static_value1 = 0x9f7db918fde9989aULL; 00149 static const uint64_t static_value2 = 0x73131d0d083d049dULL; 00150 }; 00151 00152 template<class ContainerAllocator> 00153 struct DataType< ::walk_msgs::Point2dStamped_<ContainerAllocator> > { 00154 static const char* value() 00155 { 00156 return "walk_msgs/Point2dStamped"; 00157 } 00158 00159 static const char* value(const ::walk_msgs::Point2dStamped_<ContainerAllocator> &) { return value(); } 00160 }; 00161 00162 template<class ContainerAllocator> 00163 struct Definition< ::walk_msgs::Point2dStamped_<ContainerAllocator> > { 00164 static const char* value() 00165 { 00166 return "Header header\n\ 00167 Point2d point\n\ 00168 \n\ 00169 ================================================================================\n\ 00170 MSG: std_msgs/Header\n\ 00171 # Standard metadata for higher-level stamped data types.\n\ 00172 # This is generally used to communicate timestamped data \n\ 00173 # in a particular coordinate frame.\n\ 00174 # \n\ 00175 # sequence ID: consecutively increasing ID \n\ 00176 uint32 seq\n\ 00177 #Two-integer timestamp that is expressed as:\n\ 00178 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00179 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00180 # time-handling sugar is provided by the client library\n\ 00181 time stamp\n\ 00182 #Frame this data is associated with\n\ 00183 # 0: no frame\n\ 00184 # 1: global frame\n\ 00185 string frame_id\n\ 00186 \n\ 00187 ================================================================================\n\ 00188 MSG: walk_msgs/Point2d\n\ 00189 float64 x\n\ 00190 float64 y\n\ 00191 \n\ 00192 "; 00193 } 00194 00195 static const char* value(const ::walk_msgs::Point2dStamped_<ContainerAllocator> &) { return value(); } 00196 }; 00197 00198 template<class ContainerAllocator> struct HasHeader< ::walk_msgs::Point2dStamped_<ContainerAllocator> > : public TrueType {}; 00199 template<class ContainerAllocator> struct HasHeader< const ::walk_msgs::Point2dStamped_<ContainerAllocator> > : public TrueType {}; 00200 } // namespace message_traits 00201 } // namespace ros 00202 00203 namespace ros 00204 { 00205 namespace serialization 00206 { 00207 00208 template<class ContainerAllocator> struct Serializer< ::walk_msgs::Point2dStamped_<ContainerAllocator> > 00209 { 00210 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00211 { 00212 stream.next(m.header); 00213 stream.next(m.point); 00214 } 00215 00216 ROS_DECLARE_ALLINONE_SERIALIZER; 00217 }; // struct Point2dStamped_ 00218 } // namespace serialization 00219 } // namespace ros 00220 00221 namespace ros 00222 { 00223 namespace message_operations 00224 { 00225 00226 template<class ContainerAllocator> 00227 struct Printer< ::walk_msgs::Point2dStamped_<ContainerAllocator> > 00228 { 00229 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::walk_msgs::Point2dStamped_<ContainerAllocator> & v) 00230 { 00231 s << indent << "header: "; 00232 s << std::endl; 00233 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00234 s << indent << "point: "; 00235 s << std::endl; 00236 Printer< ::walk_msgs::Point2d_<ContainerAllocator> >::stream(s, indent + " ", v.point); 00237 } 00238 }; 00239 00240 00241 } // namespace message_operations 00242 } // namespace ros 00243 00244 #endif // WALK_MSGS_MESSAGE_POINT2DSTAMPED_H 00245