$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/PolygonArrayArray.msg */ 00002 #ifndef COB_3D_MAPPING_MSGS_MESSAGE_POLYGONARRAYARRAY_H 00003 #define COB_3D_MAPPING_MSGS_MESSAGE_POLYGONARRAYARRAY_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 "cob_3d_mapping_msgs/PolygonArray.h" 00018 00019 namespace cob_3d_mapping_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct PolygonArrayArray_ { 00023 typedef PolygonArrayArray_<ContainerAllocator> Type; 00024 00025 PolygonArrayArray_() 00026 : polygon_array() 00027 { 00028 } 00029 00030 PolygonArrayArray_(const ContainerAllocator& _alloc) 00031 : polygon_array(_alloc) 00032 { 00033 } 00034 00035 typedef std::vector< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> >::other > _polygon_array_type; 00036 std::vector< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> >::other > polygon_array; 00037 00038 00039 ROS_DEPRECATED uint32_t get_polygon_array_size() const { return (uint32_t)polygon_array.size(); } 00040 ROS_DEPRECATED void set_polygon_array_size(uint32_t size) { polygon_array.resize((size_t)size); } 00041 ROS_DEPRECATED void get_polygon_array_vec(std::vector< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> >::other > & vec) const { vec = this->polygon_array; } 00042 ROS_DEPRECATED void set_polygon_array_vec(const std::vector< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> >::other > & vec) { this->polygon_array = vec; } 00043 private: 00044 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/PolygonArrayArray"; } 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 "cbef1d757197ecae2de640d13ec4170e"; } 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_getMessageDefinition_() { return "# DEPRECATED\n\ 00059 cob_3d_mapping_msgs/PolygonArray[] polygon_array\n\ 00060 \n\ 00061 ================================================================================\n\ 00062 MSG: cob_3d_mapping_msgs/PolygonArray\n\ 00063 # DEPRECATED: An array of poses with a header for global reference.\n\ 00064 \n\ 00065 Header header\n\ 00066 \n\ 00067 geometry_msgs/Polygon[] polygons\n\ 00068 geometry_msgs/Vector3 normal\n\ 00069 std_msgs/Float32 d\n\ 00070 \n\ 00071 ================================================================================\n\ 00072 MSG: std_msgs/Header\n\ 00073 # Standard metadata for higher-level stamped data types.\n\ 00074 # This is generally used to communicate timestamped data \n\ 00075 # in a particular coordinate frame.\n\ 00076 # \n\ 00077 # sequence ID: consecutively increasing ID \n\ 00078 uint32 seq\n\ 00079 #Two-integer timestamp that is expressed as:\n\ 00080 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00081 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00082 # time-handling sugar is provided by the client library\n\ 00083 time stamp\n\ 00084 #Frame this data is associated with\n\ 00085 # 0: no frame\n\ 00086 # 1: global frame\n\ 00087 string frame_id\n\ 00088 \n\ 00089 ================================================================================\n\ 00090 MSG: geometry_msgs/Polygon\n\ 00091 #A specification of a polygon where the first and last points are assumed to be connected\n\ 00092 geometry_msgs/Point32[] points\n\ 00093 \n\ 00094 ================================================================================\n\ 00095 MSG: geometry_msgs/Point32\n\ 00096 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00097 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00098 # \n\ 00099 # This recommendation is to promote interoperability. \n\ 00100 #\n\ 00101 # This message is designed to take up less space when sending\n\ 00102 # lots of points at once, as in the case of a PointCloud. \n\ 00103 \n\ 00104 float32 x\n\ 00105 float32 y\n\ 00106 float32 z\n\ 00107 ================================================================================\n\ 00108 MSG: geometry_msgs/Vector3\n\ 00109 # This represents a vector in free space. \n\ 00110 \n\ 00111 float64 x\n\ 00112 float64 y\n\ 00113 float64 z\n\ 00114 ================================================================================\n\ 00115 MSG: std_msgs/Float32\n\ 00116 float32 data\n\ 00117 "; } 00118 public: 00119 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00120 00121 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00122 00123 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00124 { 00125 ros::serialization::OStream stream(write_ptr, 1000000000); 00126 ros::serialization::serialize(stream, polygon_array); 00127 return stream.getData(); 00128 } 00129 00130 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00131 { 00132 ros::serialization::IStream stream(read_ptr, 1000000000); 00133 ros::serialization::deserialize(stream, polygon_array); 00134 return stream.getData(); 00135 } 00136 00137 ROS_DEPRECATED virtual uint32_t serializationLength() const 00138 { 00139 uint32_t size = 0; 00140 size += ros::serialization::serializationLength(polygon_array); 00141 return size; 00142 } 00143 00144 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > Ptr; 00145 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> const> ConstPtr; 00146 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00147 }; // struct PolygonArrayArray 00148 typedef ::cob_3d_mapping_msgs::PolygonArrayArray_<std::allocator<void> > PolygonArrayArray; 00149 00150 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::PolygonArrayArray> PolygonArrayArrayPtr; 00151 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::PolygonArrayArray const> PolygonArrayArrayConstPtr; 00152 00153 00154 template<typename ContainerAllocator> 00155 std::ostream& operator<<(std::ostream& s, const ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> & v) 00156 { 00157 ros::message_operations::Printer< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> >::stream(s, "", v); 00158 return s;} 00159 00160 } // namespace cob_3d_mapping_msgs 00161 00162 namespace ros 00163 { 00164 namespace message_traits 00165 { 00166 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > : public TrueType {}; 00167 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> const> : public TrueType {}; 00168 template<class ContainerAllocator> 00169 struct MD5Sum< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "cbef1d757197ecae2de640d13ec4170e"; 00173 } 00174 00175 static const char* value(const ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> &) { return value(); } 00176 static const uint64_t static_value1 = 0xcbef1d757197ecaeULL; 00177 static const uint64_t static_value2 = 0x2de640d13ec4170eULL; 00178 }; 00179 00180 template<class ContainerAllocator> 00181 struct DataType< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > { 00182 static const char* value() 00183 { 00184 return "cob_3d_mapping_msgs/PolygonArrayArray"; 00185 } 00186 00187 static const char* value(const ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> &) { return value(); } 00188 }; 00189 00190 template<class ContainerAllocator> 00191 struct Definition< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > { 00192 static const char* value() 00193 { 00194 return "# DEPRECATED\n\ 00195 cob_3d_mapping_msgs/PolygonArray[] polygon_array\n\ 00196 \n\ 00197 ================================================================================\n\ 00198 MSG: cob_3d_mapping_msgs/PolygonArray\n\ 00199 # DEPRECATED: An array of poses with a header for global reference.\n\ 00200 \n\ 00201 Header header\n\ 00202 \n\ 00203 geometry_msgs/Polygon[] polygons\n\ 00204 geometry_msgs/Vector3 normal\n\ 00205 std_msgs/Float32 d\n\ 00206 \n\ 00207 ================================================================================\n\ 00208 MSG: std_msgs/Header\n\ 00209 # Standard metadata for higher-level stamped data types.\n\ 00210 # This is generally used to communicate timestamped data \n\ 00211 # in a particular coordinate frame.\n\ 00212 # \n\ 00213 # sequence ID: consecutively increasing ID \n\ 00214 uint32 seq\n\ 00215 #Two-integer timestamp that is expressed as:\n\ 00216 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00217 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00218 # time-handling sugar is provided by the client library\n\ 00219 time stamp\n\ 00220 #Frame this data is associated with\n\ 00221 # 0: no frame\n\ 00222 # 1: global frame\n\ 00223 string frame_id\n\ 00224 \n\ 00225 ================================================================================\n\ 00226 MSG: geometry_msgs/Polygon\n\ 00227 #A specification of a polygon where the first and last points are assumed to be connected\n\ 00228 geometry_msgs/Point32[] points\n\ 00229 \n\ 00230 ================================================================================\n\ 00231 MSG: geometry_msgs/Point32\n\ 00232 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00233 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00234 # \n\ 00235 # This recommendation is to promote interoperability. \n\ 00236 #\n\ 00237 # This message is designed to take up less space when sending\n\ 00238 # lots of points at once, as in the case of a PointCloud. \n\ 00239 \n\ 00240 float32 x\n\ 00241 float32 y\n\ 00242 float32 z\n\ 00243 ================================================================================\n\ 00244 MSG: geometry_msgs/Vector3\n\ 00245 # This represents a vector in free space. \n\ 00246 \n\ 00247 float64 x\n\ 00248 float64 y\n\ 00249 float64 z\n\ 00250 ================================================================================\n\ 00251 MSG: std_msgs/Float32\n\ 00252 float32 data\n\ 00253 "; 00254 } 00255 00256 static const char* value(const ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> &) { return value(); } 00257 }; 00258 00259 } // namespace message_traits 00260 } // namespace ros 00261 00262 namespace ros 00263 { 00264 namespace serialization 00265 { 00266 00267 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > 00268 { 00269 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00270 { 00271 stream.next(m.polygon_array); 00272 } 00273 00274 ROS_DECLARE_ALLINONE_SERIALIZER; 00275 }; // struct PolygonArrayArray_ 00276 } // namespace serialization 00277 } // namespace ros 00278 00279 namespace ros 00280 { 00281 namespace message_operations 00282 { 00283 00284 template<class ContainerAllocator> 00285 struct Printer< ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> > 00286 { 00287 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_3d_mapping_msgs::PolygonArrayArray_<ContainerAllocator> & v) 00288 { 00289 s << indent << "polygon_array[]" << std::endl; 00290 for (size_t i = 0; i < v.polygon_array.size(); ++i) 00291 { 00292 s << indent << " polygon_array[" << i << "]: "; 00293 s << std::endl; 00294 s << indent; 00295 Printer< ::cob_3d_mapping_msgs::PolygonArray_<ContainerAllocator> >::stream(s, indent + " ", v.polygon_array[i]); 00296 } 00297 } 00298 }; 00299 00300 00301 } // namespace message_operations 00302 } // namespace ros 00303 00304 #endif // COB_3D_MAPPING_MSGS_MESSAGE_POLYGONARRAYARRAY_H 00305