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


srs_object_database_msgs
Author(s): Georg Arbeiter
autogenerated on Wed Nov 27 2013 14:14:38