$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-srs_common/doc_stacks/2013-03-02_13-44-44.967682/srs_common/srs_object_database_msgs/msg/pcl.msg */ 00002 #ifndef SRS_OBJECT_DATABASE_MSGS_MESSAGE_PCL_H 00003 #define SRS_OBJECT_DATABASE_MSGS_MESSAGE_PCL_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 "sensor_msgs/PointCloud2.h" 00018 00019 namespace srs_object_database_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct pcl_ { 00023 typedef pcl_<ContainerAllocator> Type; 00024 00025 pcl_() 00026 : objectId(0) 00027 , pcl() 00028 { 00029 } 00030 00031 pcl_(const ContainerAllocator& _alloc) 00032 : objectId(0) 00033 , pcl(_alloc) 00034 { 00035 } 00036 00037 typedef int32_t _objectId_type; 00038 int32_t objectId; 00039 00040 typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _pcl_type; 00041 ::sensor_msgs::PointCloud2_<ContainerAllocator> pcl; 00042 00043 00044 private: 00045 static const char* __s_getDataType_() { return "srs_object_database_msgs/pcl"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00048 00049 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00050 00051 private: 00052 static const char* __s_getMD5Sum_() { return "9dc55dd5d91bb315c94ddde791391c9d"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "int32 objectId\n\ 00060 sensor_msgs/PointCloud2 pcl\n\ 00061 \n\ 00062 ================================================================================\n\ 00063 MSG: sensor_msgs/PointCloud2\n\ 00064 # This message holds a collection of N-dimensional points, which may\n\ 00065 # contain additional information such as normals, intensity, etc. The\n\ 00066 # point data is stored as a binary blob, its layout described by the\n\ 00067 # contents of the \"fields\" array.\n\ 00068 \n\ 00069 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00070 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00071 # camera depth sensors such as stereo or time-of-flight.\n\ 00072 \n\ 00073 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00074 # points).\n\ 00075 Header header\n\ 00076 \n\ 00077 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00078 # 1 and width is the length of the point cloud.\n\ 00079 uint32 height\n\ 00080 uint32 width\n\ 00081 \n\ 00082 # Describes the channels and their layout in the binary data blob.\n\ 00083 PointField[] fields\n\ 00084 \n\ 00085 bool is_bigendian # Is this data bigendian?\n\ 00086 uint32 point_step # Length of a point in bytes\n\ 00087 uint32 row_step # Length of a row in bytes\n\ 00088 uint8[] data # Actual point data, size is (row_step*height)\n\ 00089 \n\ 00090 bool is_dense # True if there are no invalid points\n\ 00091 \n\ 00092 ================================================================================\n\ 00093 MSG: std_msgs/Header\n\ 00094 # Standard metadata for higher-level stamped data types.\n\ 00095 # This is generally used to communicate timestamped data \n\ 00096 # in a particular coordinate frame.\n\ 00097 # \n\ 00098 # sequence ID: consecutively increasing ID \n\ 00099 uint32 seq\n\ 00100 #Two-integer timestamp that is expressed as:\n\ 00101 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00102 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00103 # time-handling sugar is provided by the client library\n\ 00104 time stamp\n\ 00105 #Frame this data is associated with\n\ 00106 # 0: no frame\n\ 00107 # 1: global frame\n\ 00108 string frame_id\n\ 00109 \n\ 00110 ================================================================================\n\ 00111 MSG: sensor_msgs/PointField\n\ 00112 # This message holds the description of one point entry in the\n\ 00113 # PointCloud2 message format.\n\ 00114 uint8 INT8 = 1\n\ 00115 uint8 UINT8 = 2\n\ 00116 uint8 INT16 = 3\n\ 00117 uint8 UINT16 = 4\n\ 00118 uint8 INT32 = 5\n\ 00119 uint8 UINT32 = 6\n\ 00120 uint8 FLOAT32 = 7\n\ 00121 uint8 FLOAT64 = 8\n\ 00122 \n\ 00123 string name # Name of field\n\ 00124 uint32 offset # Offset from start of point struct\n\ 00125 uint8 datatype # Datatype enumeration, see above\n\ 00126 uint32 count # How many elements in the field\n\ 00127 \n\ 00128 "; } 00129 public: 00130 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00131 00132 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00133 00134 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00135 { 00136 ros::serialization::OStream stream(write_ptr, 1000000000); 00137 ros::serialization::serialize(stream, objectId); 00138 ros::serialization::serialize(stream, pcl); 00139 return stream.getData(); 00140 } 00141 00142 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00143 { 00144 ros::serialization::IStream stream(read_ptr, 1000000000); 00145 ros::serialization::deserialize(stream, objectId); 00146 ros::serialization::deserialize(stream, pcl); 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(objectId); 00154 size += ros::serialization::serializationLength(pcl); 00155 return size; 00156 } 00157 00158 typedef boost::shared_ptr< ::srs_object_database_msgs::pcl_<ContainerAllocator> > Ptr; 00159 typedef boost::shared_ptr< ::srs_object_database_msgs::pcl_<ContainerAllocator> const> ConstPtr; 00160 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00161 }; // struct pcl 00162 typedef ::srs_object_database_msgs::pcl_<std::allocator<void> > pcl; 00163 00164 typedef boost::shared_ptr< ::srs_object_database_msgs::pcl> pclPtr; 00165 typedef boost::shared_ptr< ::srs_object_database_msgs::pcl const> pclConstPtr; 00166 00167 00168 template<typename ContainerAllocator> 00169 std::ostream& operator<<(std::ostream& s, const ::srs_object_database_msgs::pcl_<ContainerAllocator> & v) 00170 { 00171 ros::message_operations::Printer< ::srs_object_database_msgs::pcl_<ContainerAllocator> >::stream(s, "", v); 00172 return s;} 00173 00174 } // namespace srs_object_database_msgs 00175 00176 namespace ros 00177 { 00178 namespace message_traits 00179 { 00180 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::pcl_<ContainerAllocator> > : public TrueType {}; 00181 template<class ContainerAllocator> struct IsMessage< ::srs_object_database_msgs::pcl_<ContainerAllocator> const> : public TrueType {}; 00182 template<class ContainerAllocator> 00183 struct MD5Sum< ::srs_object_database_msgs::pcl_<ContainerAllocator> > { 00184 static const char* value() 00185 { 00186 return "9dc55dd5d91bb315c94ddde791391c9d"; 00187 } 00188 00189 static const char* value(const ::srs_object_database_msgs::pcl_<ContainerAllocator> &) { return value(); } 00190 static const uint64_t static_value1 = 0x9dc55dd5d91bb315ULL; 00191 static const uint64_t static_value2 = 0xc94ddde791391c9dULL; 00192 }; 00193 00194 template<class ContainerAllocator> 00195 struct DataType< ::srs_object_database_msgs::pcl_<ContainerAllocator> > { 00196 static const char* value() 00197 { 00198 return "srs_object_database_msgs/pcl"; 00199 } 00200 00201 static const char* value(const ::srs_object_database_msgs::pcl_<ContainerAllocator> &) { return value(); } 00202 }; 00203 00204 template<class ContainerAllocator> 00205 struct Definition< ::srs_object_database_msgs::pcl_<ContainerAllocator> > { 00206 static const char* value() 00207 { 00208 return "int32 objectId\n\ 00209 sensor_msgs/PointCloud2 pcl\n\ 00210 \n\ 00211 ================================================================================\n\ 00212 MSG: sensor_msgs/PointCloud2\n\ 00213 # This message holds a collection of N-dimensional points, which may\n\ 00214 # contain additional information such as normals, intensity, etc. The\n\ 00215 # point data is stored as a binary blob, its layout described by the\n\ 00216 # contents of the \"fields\" array.\n\ 00217 \n\ 00218 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00219 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00220 # camera depth sensors such as stereo or time-of-flight.\n\ 00221 \n\ 00222 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00223 # points).\n\ 00224 Header header\n\ 00225 \n\ 00226 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00227 # 1 and width is the length of the point cloud.\n\ 00228 uint32 height\n\ 00229 uint32 width\n\ 00230 \n\ 00231 # Describes the channels and their layout in the binary data blob.\n\ 00232 PointField[] fields\n\ 00233 \n\ 00234 bool is_bigendian # Is this data bigendian?\n\ 00235 uint32 point_step # Length of a point in bytes\n\ 00236 uint32 row_step # Length of a row in bytes\n\ 00237 uint8[] data # Actual point data, size is (row_step*height)\n\ 00238 \n\ 00239 bool is_dense # True if there are no invalid points\n\ 00240 \n\ 00241 ================================================================================\n\ 00242 MSG: std_msgs/Header\n\ 00243 # Standard metadata for higher-level stamped data types.\n\ 00244 # This is generally used to communicate timestamped data \n\ 00245 # in a particular coordinate frame.\n\ 00246 # \n\ 00247 # sequence ID: consecutively increasing ID \n\ 00248 uint32 seq\n\ 00249 #Two-integer timestamp that is expressed as:\n\ 00250 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00251 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00252 # time-handling sugar is provided by the client library\n\ 00253 time stamp\n\ 00254 #Frame this data is associated with\n\ 00255 # 0: no frame\n\ 00256 # 1: global frame\n\ 00257 string frame_id\n\ 00258 \n\ 00259 ================================================================================\n\ 00260 MSG: sensor_msgs/PointField\n\ 00261 # This message holds the description of one point entry in the\n\ 00262 # PointCloud2 message format.\n\ 00263 uint8 INT8 = 1\n\ 00264 uint8 UINT8 = 2\n\ 00265 uint8 INT16 = 3\n\ 00266 uint8 UINT16 = 4\n\ 00267 uint8 INT32 = 5\n\ 00268 uint8 UINT32 = 6\n\ 00269 uint8 FLOAT32 = 7\n\ 00270 uint8 FLOAT64 = 8\n\ 00271 \n\ 00272 string name # Name of field\n\ 00273 uint32 offset # Offset from start of point struct\n\ 00274 uint8 datatype # Datatype enumeration, see above\n\ 00275 uint32 count # How many elements in the field\n\ 00276 \n\ 00277 "; 00278 } 00279 00280 static const char* value(const ::srs_object_database_msgs::pcl_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 } // namespace message_traits 00284 } // namespace ros 00285 00286 namespace ros 00287 { 00288 namespace serialization 00289 { 00290 00291 template<class ContainerAllocator> struct Serializer< ::srs_object_database_msgs::pcl_<ContainerAllocator> > 00292 { 00293 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00294 { 00295 stream.next(m.objectId); 00296 stream.next(m.pcl); 00297 } 00298 00299 ROS_DECLARE_ALLINONE_SERIALIZER; 00300 }; // struct pcl_ 00301 } // namespace serialization 00302 } // namespace ros 00303 00304 namespace ros 00305 { 00306 namespace message_operations 00307 { 00308 00309 template<class ContainerAllocator> 00310 struct Printer< ::srs_object_database_msgs::pcl_<ContainerAllocator> > 00311 { 00312 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::srs_object_database_msgs::pcl_<ContainerAllocator> & v) 00313 { 00314 s << indent << "objectId: "; 00315 Printer<int32_t>::stream(s, indent + " ", v.objectId); 00316 s << indent << "pcl: "; 00317 s << std::endl; 00318 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.pcl); 00319 } 00320 }; 00321 00322 00323 } // namespace message_operations 00324 } // namespace ros 00325 00326 #endif // SRS_OBJECT_DATABASE_MSGS_MESSAGE_PCL_H 00327