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


map_msgs
Author(s): Stéphane Magnenat
autogenerated on Fri May 31 2013 08:22:01