$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/msg/polyline_point.msg */ 00002 #ifndef COB_3D_MAPPING_MSGS_MESSAGE_POLYLINE_POINT_H 00003 #define COB_3D_MAPPING_MSGS_MESSAGE_POLYLINE_POINT_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 00018 namespace cob_3d_mapping_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct polyline_point_ { 00022 typedef polyline_point_<ContainerAllocator> Type; 00023 00024 polyline_point_() 00025 : x(0.0) 00026 , y(0.0) 00027 , edge_prob(0.0) 00028 { 00029 } 00030 00031 polyline_point_(const ContainerAllocator& _alloc) 00032 : x(0.0) 00033 , y(0.0) 00034 , edge_prob(0.0) 00035 { 00036 } 00037 00038 typedef float _x_type; 00039 float x; 00040 00041 typedef float _y_type; 00042 float y; 00043 00044 typedef float _edge_prob_type; 00045 float edge_prob; 00046 00047 00048 private: 00049 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/polyline_point"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "850eb4aee753d09ff5d16e6f86ee6353"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "float32 x\n\ 00064 float32 y\n\ 00065 float32 edge_prob\n\ 00066 "; } 00067 public: 00068 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00069 00070 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00071 00072 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00073 { 00074 ros::serialization::OStream stream(write_ptr, 1000000000); 00075 ros::serialization::serialize(stream, x); 00076 ros::serialization::serialize(stream, y); 00077 ros::serialization::serialize(stream, edge_prob); 00078 return stream.getData(); 00079 } 00080 00081 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00082 { 00083 ros::serialization::IStream stream(read_ptr, 1000000000); 00084 ros::serialization::deserialize(stream, x); 00085 ros::serialization::deserialize(stream, y); 00086 ros::serialization::deserialize(stream, edge_prob); 00087 return stream.getData(); 00088 } 00089 00090 ROS_DEPRECATED virtual uint32_t serializationLength() const 00091 { 00092 uint32_t size = 0; 00093 size += ros::serialization::serializationLength(x); 00094 size += ros::serialization::serializationLength(y); 00095 size += ros::serialization::serializationLength(edge_prob); 00096 return size; 00097 } 00098 00099 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > Ptr; 00100 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> const> ConstPtr; 00101 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00102 }; // struct polyline_point 00103 typedef ::cob_3d_mapping_msgs::polyline_point_<std::allocator<void> > polyline_point; 00104 00105 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::polyline_point> polyline_pointPtr; 00106 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::polyline_point const> polyline_pointConstPtr; 00107 00108 00109 template<typename ContainerAllocator> 00110 std::ostream& operator<<(std::ostream& s, const ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> & v) 00111 { 00112 ros::message_operations::Printer< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> >::stream(s, "", v); 00113 return s;} 00114 00115 } // namespace cob_3d_mapping_msgs 00116 00117 namespace ros 00118 { 00119 namespace message_traits 00120 { 00121 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > : public TrueType {}; 00122 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> const> : public TrueType {}; 00123 template<class ContainerAllocator> 00124 struct MD5Sum< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > { 00125 static const char* value() 00126 { 00127 return "850eb4aee753d09ff5d16e6f86ee6353"; 00128 } 00129 00130 static const char* value(const ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> &) { return value(); } 00131 static const uint64_t static_value1 = 0x850eb4aee753d09fULL; 00132 static const uint64_t static_value2 = 0xf5d16e6f86ee6353ULL; 00133 }; 00134 00135 template<class ContainerAllocator> 00136 struct DataType< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > { 00137 static const char* value() 00138 { 00139 return "cob_3d_mapping_msgs/polyline_point"; 00140 } 00141 00142 static const char* value(const ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> &) { return value(); } 00143 }; 00144 00145 template<class ContainerAllocator> 00146 struct Definition< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > { 00147 static const char* value() 00148 { 00149 return "float32 x\n\ 00150 float32 y\n\ 00151 float32 edge_prob\n\ 00152 "; 00153 } 00154 00155 static const char* value(const ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> &) { return value(); } 00156 }; 00157 00158 template<class ContainerAllocator> struct IsFixedSize< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > : public TrueType {}; 00159 } // namespace message_traits 00160 } // namespace ros 00161 00162 namespace ros 00163 { 00164 namespace serialization 00165 { 00166 00167 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > 00168 { 00169 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00170 { 00171 stream.next(m.x); 00172 stream.next(m.y); 00173 stream.next(m.edge_prob); 00174 } 00175 00176 ROS_DECLARE_ALLINONE_SERIALIZER; 00177 }; // struct polyline_point_ 00178 } // namespace serialization 00179 } // namespace ros 00180 00181 namespace ros 00182 { 00183 namespace message_operations 00184 { 00185 00186 template<class ContainerAllocator> 00187 struct Printer< ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> > 00188 { 00189 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_3d_mapping_msgs::polyline_point_<ContainerAllocator> & v) 00190 { 00191 s << indent << "x: "; 00192 Printer<float>::stream(s, indent + " ", v.x); 00193 s << indent << "y: "; 00194 Printer<float>::stream(s, indent + " ", v.y); 00195 s << indent << "edge_prob: "; 00196 Printer<float>::stream(s, indent + " ", v.edge_prob); 00197 } 00198 }; 00199 00200 00201 } // namespace message_operations 00202 } // namespace ros 00203 00204 #endif // COB_3D_MAPPING_MSGS_MESSAGE_POLYLINE_POINT_H 00205