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


iri_perception_msgs
Author(s):
autogenerated on Fri Dec 6 2013 20:02:15