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


jsk_perception
Author(s): Manabu Saito
autogenerated on Sat Mar 23 2013 18:21:32