PointCloud2Array.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-cob_perception_common/doc_stacks/2013-03-08_15-00-12.727680/cob_perception_common/cob_perception_msgs/msg/PointCloud2Array.msg */
00002 #ifndef COB_PERCEPTION_MSGS_MESSAGE_POINTCLOUD2ARRAY_H
00003 #define COB_PERCEPTION_MSGS_MESSAGE_POINTCLOUD2ARRAY_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 "sensor_msgs/PointCloud2.h"
00019 
00020 namespace cob_perception_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PointCloud2Array_ {
00024   typedef PointCloud2Array_<ContainerAllocator> Type;
00025 
00026   PointCloud2Array_()
00027   : header()
00028   , segments()
00029   {
00030   }
00031 
00032   PointCloud2Array_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , segments(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00039    ::std_msgs::Header_<ContainerAllocator>  header;
00040 
00041   typedef std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other >  _segments_type;
00042   std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other >  segments;
00043 
00044 
00045   typedef boost::shared_ptr< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct PointCloud2Array
00049 typedef  ::cob_perception_msgs::PointCloud2Array_<std::allocator<void> > PointCloud2Array;
00050 
00051 typedef boost::shared_ptr< ::cob_perception_msgs::PointCloud2Array> PointCloud2ArrayPtr;
00052 typedef boost::shared_ptr< ::cob_perception_msgs::PointCloud2Array const> PointCloud2ArrayConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace cob_perception_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "bd792288e56da8dc0e9d1696ac4e856d";
00074   }
00075 
00076   static const char* value(const  ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xbd792288e56da8dcULL;
00078   static const uint64_t static_value2 = 0x0e9d1696ac4e856dULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "cob_perception_msgs/PointCloud2Array";
00086   }
00087 
00088   static const char* value(const  ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "Header header\n\
00096 sensor_msgs/PointCloud2[] segments\n\
00097 \n\
00098 ================================================================================\n\
00099 MSG: std_msgs/Header\n\
00100 # Standard metadata for higher-level stamped data types.\n\
00101 # This is generally used to communicate timestamped data \n\
00102 # in a particular coordinate frame.\n\
00103 # \n\
00104 # sequence ID: consecutively increasing ID \n\
00105 uint32 seq\n\
00106 #Two-integer timestamp that is expressed as:\n\
00107 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00108 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00109 # time-handling sugar is provided by the client library\n\
00110 time stamp\n\
00111 #Frame this data is associated with\n\
00112 # 0: no frame\n\
00113 # 1: global frame\n\
00114 string frame_id\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: sensor_msgs/PointCloud2\n\
00118 # This message holds a collection of N-dimensional points, which may\n\
00119 # contain additional information such as normals, intensity, etc. The\n\
00120 # point data is stored as a binary blob, its layout described by the\n\
00121 # contents of the \"fields\" array.\n\
00122 \n\
00123 # The point cloud data may be organized 2d (image-like) or 1d\n\
00124 # (unordered). Point clouds organized as 2d images may be produced by\n\
00125 # camera depth sensors such as stereo or time-of-flight.\n\
00126 \n\
00127 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00128 # points).\n\
00129 Header header\n\
00130 \n\
00131 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00132 # 1 and width is the length of the point cloud.\n\
00133 uint32 height\n\
00134 uint32 width\n\
00135 \n\
00136 # Describes the channels and their layout in the binary data blob.\n\
00137 PointField[] fields\n\
00138 \n\
00139 bool    is_bigendian # Is this data bigendian?\n\
00140 uint32  point_step   # Length of a point in bytes\n\
00141 uint32  row_step     # Length of a row in bytes\n\
00142 uint8[] data         # Actual point data, size is (row_step*height)\n\
00143 \n\
00144 bool is_dense        # True if there are no invalid points\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: sensor_msgs/PointField\n\
00148 # This message holds the description of one point entry in the\n\
00149 # PointCloud2 message format.\n\
00150 uint8 INT8    = 1\n\
00151 uint8 UINT8   = 2\n\
00152 uint8 INT16   = 3\n\
00153 uint8 UINT16  = 4\n\
00154 uint8 INT32   = 5\n\
00155 uint8 UINT32  = 6\n\
00156 uint8 FLOAT32 = 7\n\
00157 uint8 FLOAT64 = 8\n\
00158 \n\
00159 string name      # Name of field\n\
00160 uint32 offset    # Offset from start of point struct\n\
00161 uint8  datatype  # Datatype enumeration, see above\n\
00162 uint32 count     # How many elements in the field\n\
00163 \n\
00164 ";
00165   }
00166 
00167   static const char* value(const  ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> &) { return value(); } 
00168 };
00169 
00170 template<class ContainerAllocator> struct HasHeader< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > : public TrueType {};
00171 template<class ContainerAllocator> struct HasHeader< const ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> > : public TrueType {};
00172 } // namespace message_traits
00173 } // namespace ros
00174 
00175 namespace ros
00176 {
00177 namespace serialization
00178 {
00179 
00180 template<class ContainerAllocator> struct Serializer< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> >
00181 {
00182   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00183   {
00184     stream.next(m.header);
00185     stream.next(m.segments);
00186   }
00187 
00188   ROS_DECLARE_ALLINONE_SERIALIZER;
00189 }; // struct PointCloud2Array_
00190 } // namespace serialization
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197 
00198 template<class ContainerAllocator>
00199 struct Printer< ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> >
00200 {
00201   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::cob_perception_msgs::PointCloud2Array_<ContainerAllocator> & v) 
00202   {
00203     s << indent << "header: ";
00204 s << std::endl;
00205     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00206     s << indent << "segments[]" << std::endl;
00207     for (size_t i = 0; i < v.segments.size(); ++i)
00208     {
00209       s << indent << "  segments[" << i << "]: ";
00210       s << std::endl;
00211       s << indent;
00212       Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + "    ", v.segments[i]);
00213     }
00214   }
00215 };
00216 
00217 
00218 } // namespace message_operations
00219 } // namespace ros
00220 
00221 #endif // COB_PERCEPTION_MSGS_MESSAGE_POINTCLOUD2ARRAY_H
00222 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


cob_perception_msgs
Author(s): Richard Bormann
autogenerated on Fri Mar 8 2013 15:03:29