ExtractClusters.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/zyonz_robot/zyonz_obtain_two_clustered_leaves/srv/ExtractClusters.srv */
00002 #ifndef ZYONZ_OBTAIN_TWO_CLUSTERED_LEAVES_SERVICE_EXTRACTCLUSTERS_H
00003 #define ZYONZ_OBTAIN_TWO_CLUSTERED_LEAVES_SERVICE_EXTRACTCLUSTERS_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 #include "sensor_msgs/PointCloud2.h"
00020 
00021 
00022 #include "sensor_msgs/PointCloud2.h"
00023 #include "sensor_msgs/PointCloud2.h"
00024 #include "sensor_msgs/Image.h"
00025 #include "sensor_msgs/Image.h"
00026 
00027 namespace zyonz_obtain_two_clustered_leaves
00028 {
00029 template <class ContainerAllocator>
00030 struct ExtractClustersRequest_ {
00031   typedef ExtractClustersRequest_<ContainerAllocator> Type;
00032 
00033   ExtractClustersRequest_()
00034   : input()
00035   {
00036   }
00037 
00038   ExtractClustersRequest_(const ContainerAllocator& _alloc)
00039   : input(_alloc)
00040   {
00041   }
00042 
00043   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _input_type;
00044    ::sensor_msgs::PointCloud2_<ContainerAllocator>  input;
00045 
00046 
00047   typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct ExtractClustersRequest
00051 typedef  ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<std::allocator<void> > ExtractClustersRequest;
00052 
00053 typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest> ExtractClustersRequestPtr;
00054 typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest const> ExtractClustersRequestConstPtr;
00055 
00056 
00057 template <class ContainerAllocator>
00058 struct ExtractClustersResponse_ {
00059   typedef ExtractClustersResponse_<ContainerAllocator> Type;
00060 
00061   ExtractClustersResponse_()
00062   : cluster_a()
00063   , cluster_b()
00064   , cluster_a_img()
00065   , cluster_b_img()
00066   {
00067   }
00068 
00069   ExtractClustersResponse_(const ContainerAllocator& _alloc)
00070   : cluster_a(_alloc)
00071   , cluster_b(_alloc)
00072   , cluster_a_img(_alloc)
00073   , cluster_b_img(_alloc)
00074   {
00075   }
00076 
00077   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _cluster_a_type;
00078    ::sensor_msgs::PointCloud2_<ContainerAllocator>  cluster_a;
00079 
00080   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _cluster_b_type;
00081    ::sensor_msgs::PointCloud2_<ContainerAllocator>  cluster_b;
00082 
00083   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _cluster_a_img_type;
00084    ::sensor_msgs::Image_<ContainerAllocator>  cluster_a_img;
00085 
00086   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _cluster_b_img_type;
00087    ::sensor_msgs::Image_<ContainerAllocator>  cluster_b_img;
00088 
00089 
00090   typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > Ptr;
00091   typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator>  const> ConstPtr;
00092   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 }; // struct ExtractClustersResponse
00094 typedef  ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<std::allocator<void> > ExtractClustersResponse;
00095 
00096 typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse> ExtractClustersResponsePtr;
00097 typedef boost::shared_ptr< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse const> ExtractClustersResponseConstPtr;
00098 
00099 struct ExtractClusters
00100 {
00101 
00102 typedef ExtractClustersRequest Request;
00103 typedef ExtractClustersResponse Response;
00104 Request request;
00105 Response response;
00106 
00107 typedef Request RequestType;
00108 typedef Response ResponseType;
00109 }; // struct ExtractClusters
00110 } // namespace zyonz_obtain_two_clustered_leaves
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "55c5f2a1ba5379341fa496de58e8d437";
00123   }
00124 
00125   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0x55c5f2a1ba537934ULL;
00127   static const uint64_t static_value2 = 0x1fa496de58e8d437ULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "zyonz_obtain_two_clustered_leaves/ExtractClustersRequest";
00135   }
00136 
00137   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "\n\
00145 sensor_msgs/PointCloud2 input\n\
00146 \n\
00147 ================================================================================\n\
00148 MSG: sensor_msgs/PointCloud2\n\
00149 # This message holds a collection of N-dimensional points, which may\n\
00150 # contain additional information such as normals, intensity, etc. The\n\
00151 # point data is stored as a binary blob, its layout described by the\n\
00152 # contents of the \"fields\" array.\n\
00153 \n\
00154 # The point cloud data may be organized 2d (image-like) or 1d\n\
00155 # (unordered). Point clouds organized as 2d images may be produced by\n\
00156 # camera depth sensors such as stereo or time-of-flight.\n\
00157 \n\
00158 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00159 # points).\n\
00160 Header header\n\
00161 \n\
00162 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00163 # 1 and width is the length of the point cloud.\n\
00164 uint32 height\n\
00165 uint32 width\n\
00166 \n\
00167 # Describes the channels and their layout in the binary data blob.\n\
00168 PointField[] fields\n\
00169 \n\
00170 bool    is_bigendian # Is this data bigendian?\n\
00171 uint32  point_step   # Length of a point in bytes\n\
00172 uint32  row_step     # Length of a row in bytes\n\
00173 uint8[] data         # Actual point data, size is (row_step*height)\n\
00174 \n\
00175 bool is_dense        # True if there are no invalid points\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: std_msgs/Header\n\
00179 # Standard metadata for higher-level stamped data types.\n\
00180 # This is generally used to communicate timestamped data \n\
00181 # in a particular coordinate frame.\n\
00182 # \n\
00183 # sequence ID: consecutively increasing ID \n\
00184 uint32 seq\n\
00185 #Two-integer timestamp that is expressed as:\n\
00186 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00187 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00188 # time-handling sugar is provided by the client library\n\
00189 time stamp\n\
00190 #Frame this data is associated with\n\
00191 # 0: no frame\n\
00192 # 1: global frame\n\
00193 string frame_id\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: sensor_msgs/PointField\n\
00197 # This message holds the description of one point entry in the\n\
00198 # PointCloud2 message format.\n\
00199 uint8 INT8    = 1\n\
00200 uint8 UINT8   = 2\n\
00201 uint8 INT16   = 3\n\
00202 uint8 UINT16  = 4\n\
00203 uint8 INT32   = 5\n\
00204 uint8 UINT32  = 6\n\
00205 uint8 FLOAT32 = 7\n\
00206 uint8 FLOAT64 = 8\n\
00207 \n\
00208 string name      # Name of field\n\
00209 uint32 offset    # Offset from start of point struct\n\
00210 uint8  datatype  # Datatype enumeration, see above\n\
00211 uint32 count     # How many elements in the field\n\
00212 \n\
00213 ";
00214   }
00215 
00216   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> &) { return value(); } 
00217 };
00218 
00219 } // namespace message_traits
00220 } // namespace ros
00221 
00222 
00223 namespace ros
00224 {
00225 namespace message_traits
00226 {
00227 template<class ContainerAllocator> struct IsMessage< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > : public TrueType {};
00228 template<class ContainerAllocator> struct IsMessage< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator>  const> : public TrueType {};
00229 template<class ContainerAllocator>
00230 struct MD5Sum< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > {
00231   static const char* value() 
00232   {
00233     return "4975672b30341a204b5311a21c069402";
00234   }
00235 
00236   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> &) { return value(); } 
00237   static const uint64_t static_value1 = 0x4975672b30341a20ULL;
00238   static const uint64_t static_value2 = 0x4b5311a21c069402ULL;
00239 };
00240 
00241 template<class ContainerAllocator>
00242 struct DataType< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > {
00243   static const char* value() 
00244   {
00245     return "zyonz_obtain_two_clustered_leaves/ExtractClustersResponse";
00246   }
00247 
00248   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> &) { return value(); } 
00249 };
00250 
00251 template<class ContainerAllocator>
00252 struct Definition< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > {
00253   static const char* value() 
00254   {
00255     return "\n\
00256 sensor_msgs/PointCloud2 cluster_a\n\
00257 sensor_msgs/PointCloud2 cluster_b\n\
00258 sensor_msgs/Image cluster_a_img\n\
00259 sensor_msgs/Image cluster_b_img\n\
00260 \n\
00261 \n\
00262 ================================================================================\n\
00263 MSG: sensor_msgs/PointCloud2\n\
00264 # This message holds a collection of N-dimensional points, which may\n\
00265 # contain additional information such as normals, intensity, etc. The\n\
00266 # point data is stored as a binary blob, its layout described by the\n\
00267 # contents of the \"fields\" array.\n\
00268 \n\
00269 # The point cloud data may be organized 2d (image-like) or 1d\n\
00270 # (unordered). Point clouds organized as 2d images may be produced by\n\
00271 # camera depth sensors such as stereo or time-of-flight.\n\
00272 \n\
00273 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00274 # points).\n\
00275 Header header\n\
00276 \n\
00277 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00278 # 1 and width is the length of the point cloud.\n\
00279 uint32 height\n\
00280 uint32 width\n\
00281 \n\
00282 # Describes the channels and their layout in the binary data blob.\n\
00283 PointField[] fields\n\
00284 \n\
00285 bool    is_bigendian # Is this data bigendian?\n\
00286 uint32  point_step   # Length of a point in bytes\n\
00287 uint32  row_step     # Length of a row in bytes\n\
00288 uint8[] data         # Actual point data, size is (row_step*height)\n\
00289 \n\
00290 bool is_dense        # True if there are no invalid points\n\
00291 \n\
00292 ================================================================================\n\
00293 MSG: std_msgs/Header\n\
00294 # Standard metadata for higher-level stamped data types.\n\
00295 # This is generally used to communicate timestamped data \n\
00296 # in a particular coordinate frame.\n\
00297 # \n\
00298 # sequence ID: consecutively increasing ID \n\
00299 uint32 seq\n\
00300 #Two-integer timestamp that is expressed as:\n\
00301 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00302 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00303 # time-handling sugar is provided by the client library\n\
00304 time stamp\n\
00305 #Frame this data is associated with\n\
00306 # 0: no frame\n\
00307 # 1: global frame\n\
00308 string frame_id\n\
00309 \n\
00310 ================================================================================\n\
00311 MSG: sensor_msgs/PointField\n\
00312 # This message holds the description of one point entry in the\n\
00313 # PointCloud2 message format.\n\
00314 uint8 INT8    = 1\n\
00315 uint8 UINT8   = 2\n\
00316 uint8 INT16   = 3\n\
00317 uint8 UINT16  = 4\n\
00318 uint8 INT32   = 5\n\
00319 uint8 UINT32  = 6\n\
00320 uint8 FLOAT32 = 7\n\
00321 uint8 FLOAT64 = 8\n\
00322 \n\
00323 string name      # Name of field\n\
00324 uint32 offset    # Offset from start of point struct\n\
00325 uint8  datatype  # Datatype enumeration, see above\n\
00326 uint32 count     # How many elements in the field\n\
00327 \n\
00328 ================================================================================\n\
00329 MSG: sensor_msgs/Image\n\
00330 # This message contains an uncompressed image\n\
00331 # (0, 0) is at top-left corner of image\n\
00332 #\n\
00333 \n\
00334 Header header        # Header timestamp should be acquisition time of image\n\
00335                      # Header frame_id should be optical frame of camera\n\
00336                      # origin of frame should be optical center of cameara\n\
00337                      # +x should point to the right in the image\n\
00338                      # +y should point down in the image\n\
00339                      # +z should point into to plane of the image\n\
00340                      # If the frame_id here and the frame_id of the CameraInfo\n\
00341                      # message associated with the image conflict\n\
00342                      # the behavior is undefined\n\
00343 \n\
00344 uint32 height         # image height, that is, number of rows\n\
00345 uint32 width          # image width, that is, number of columns\n\
00346 \n\
00347 # The legal values for encoding are in file src/image_encodings.cpp\n\
00348 # If you want to standardize a new string format, join\n\
00349 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00350 \n\
00351 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00352                       # taken from the list of strings in src/image_encodings.cpp\n\
00353 \n\
00354 uint8 is_bigendian    # is this data bigendian?\n\
00355 uint32 step           # Full row length in bytes\n\
00356 uint8[] data          # actual matrix data, size is (step * rows)\n\
00357 \n\
00358 ";
00359   }
00360 
00361   static const char* value(const  ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> &) { return value(); } 
00362 };
00363 
00364 } // namespace message_traits
00365 } // namespace ros
00366 
00367 namespace ros
00368 {
00369 namespace serialization
00370 {
00371 
00372 template<class ContainerAllocator> struct Serializer< ::zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> >
00373 {
00374   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00375   {
00376     stream.next(m.input);
00377   }
00378 
00379   ROS_DECLARE_ALLINONE_SERIALIZER;
00380 }; // struct ExtractClustersRequest_
00381 } // namespace serialization
00382 } // namespace ros
00383 
00384 
00385 namespace ros
00386 {
00387 namespace serialization
00388 {
00389 
00390 template<class ContainerAllocator> struct Serializer< ::zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> >
00391 {
00392   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00393   {
00394     stream.next(m.cluster_a);
00395     stream.next(m.cluster_b);
00396     stream.next(m.cluster_a_img);
00397     stream.next(m.cluster_b_img);
00398   }
00399 
00400   ROS_DECLARE_ALLINONE_SERIALIZER;
00401 }; // struct ExtractClustersResponse_
00402 } // namespace serialization
00403 } // namespace ros
00404 
00405 namespace ros
00406 {
00407 namespace service_traits
00408 {
00409 template<>
00410 struct MD5Sum<zyonz_obtain_two_clustered_leaves::ExtractClusters> {
00411   static const char* value() 
00412   {
00413     return "119fae386ed1cae059a2ff29384b0fd8";
00414   }
00415 
00416   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClusters&) { return value(); } 
00417 };
00418 
00419 template<>
00420 struct DataType<zyonz_obtain_two_clustered_leaves::ExtractClusters> {
00421   static const char* value() 
00422   {
00423     return "zyonz_obtain_two_clustered_leaves/ExtractClusters";
00424   }
00425 
00426   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClusters&) { return value(); } 
00427 };
00428 
00429 template<class ContainerAllocator>
00430 struct MD5Sum<zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > {
00431   static const char* value() 
00432   {
00433     return "119fae386ed1cae059a2ff29384b0fd8";
00434   }
00435 
00436   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> &) { return value(); } 
00437 };
00438 
00439 template<class ContainerAllocator>
00440 struct DataType<zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> > {
00441   static const char* value() 
00442   {
00443     return "zyonz_obtain_two_clustered_leaves/ExtractClusters";
00444   }
00445 
00446   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClustersRequest_<ContainerAllocator> &) { return value(); } 
00447 };
00448 
00449 template<class ContainerAllocator>
00450 struct MD5Sum<zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > {
00451   static const char* value() 
00452   {
00453     return "119fae386ed1cae059a2ff29384b0fd8";
00454   }
00455 
00456   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> &) { return value(); } 
00457 };
00458 
00459 template<class ContainerAllocator>
00460 struct DataType<zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> > {
00461   static const char* value() 
00462   {
00463     return "zyonz_obtain_two_clustered_leaves/ExtractClusters";
00464   }
00465 
00466   static const char* value(const zyonz_obtain_two_clustered_leaves::ExtractClustersResponse_<ContainerAllocator> &) { return value(); } 
00467 };
00468 
00469 } // namespace service_traits
00470 } // namespace ros
00471 
00472 #endif // ZYONZ_OBTAIN_TWO_CLUSTERED_LEAVES_SERVICE_EXTRACTCLUSTERS_H
00473 


zyonz_obtain_two_clustered_leaves
Author(s): sfoix
autogenerated on Fri Dec 6 2013 20:35:16