EuclideanSegment.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/srv/EuclideanSegment.srv */
00002 #ifndef JSK_PERCEPTION_SERVICE_EUCLIDEANSEGMENT_H
00003 #define JSK_PERCEPTION_SERVICE_EUCLIDEANSEGMENT_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 
00024 namespace jsk_perception
00025 {
00026 template <class ContainerAllocator>
00027 struct EuclideanSegmentRequest_ {
00028   typedef EuclideanSegmentRequest_<ContainerAllocator> Type;
00029 
00030   EuclideanSegmentRequest_()
00031   : input()
00032   , tolerance(0.0)
00033   {
00034   }
00035 
00036   EuclideanSegmentRequest_(const ContainerAllocator& _alloc)
00037   : input(_alloc)
00038   , tolerance(0.0)
00039   {
00040   }
00041 
00042   typedef  ::sensor_msgs::PointCloud2_<ContainerAllocator>  _input_type;
00043    ::sensor_msgs::PointCloud2_<ContainerAllocator>  input;
00044 
00045   typedef float _tolerance_type;
00046   float tolerance;
00047 
00048 
00049   typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct EuclideanSegmentRequest
00053 typedef  ::jsk_perception::EuclideanSegmentRequest_<std::allocator<void> > EuclideanSegmentRequest;
00054 
00055 typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentRequest> EuclideanSegmentRequestPtr;
00056 typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentRequest const> EuclideanSegmentRequestConstPtr;
00057 
00058 
00059 template <class ContainerAllocator>
00060 struct EuclideanSegmentResponse_ {
00061   typedef EuclideanSegmentResponse_<ContainerAllocator> Type;
00062 
00063   EuclideanSegmentResponse_()
00064   : output()
00065   {
00066   }
00067 
00068   EuclideanSegmentResponse_(const ContainerAllocator& _alloc)
00069   : output(_alloc)
00070   {
00071   }
00072 
00073   typedef std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other >  _output_type;
00074   std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other >  output;
00075 
00076 
00077   typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > Ptr;
00078   typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator>  const> ConstPtr;
00079   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 }; // struct EuclideanSegmentResponse
00081 typedef  ::jsk_perception::EuclideanSegmentResponse_<std::allocator<void> > EuclideanSegmentResponse;
00082 
00083 typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentResponse> EuclideanSegmentResponsePtr;
00084 typedef boost::shared_ptr< ::jsk_perception::EuclideanSegmentResponse const> EuclideanSegmentResponseConstPtr;
00085 
00086 struct EuclideanSegment
00087 {
00088 
00089 typedef EuclideanSegmentRequest Request;
00090 typedef EuclideanSegmentResponse Response;
00091 Request request;
00092 Response response;
00093 
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 }; // struct EuclideanSegment
00097 } // namespace jsk_perception
00098 
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator>  const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "116dd66bdc82f46d7b7414ce880ea794";
00110   }
00111 
00112   static const char* value(const  ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> &) { return value(); } 
00113   static const uint64_t static_value1 = 0x116dd66bdc82f46dULL;
00114   static const uint64_t static_value2 = 0x7b7414ce880ea794ULL;
00115 };
00116 
00117 template<class ContainerAllocator>
00118 struct DataType< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > {
00119   static const char* value() 
00120   {
00121     return "jsk_perception/EuclideanSegmentRequest";
00122   }
00123 
00124   static const char* value(const  ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 template<class ContainerAllocator>
00128 struct Definition< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > {
00129   static const char* value() 
00130   {
00131     return "sensor_msgs/PointCloud2 input\n\
00132 float32 tolerance\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: sensor_msgs/PointCloud2\n\
00136 # This message holds a collection of N-dimensional points, which may\n\
00137 # contain additional information such as normals, intensity, etc. The\n\
00138 # point data is stored as a binary blob, its layout described by the\n\
00139 # contents of the \"fields\" array.\n\
00140 \n\
00141 # The point cloud data may be organized 2d (image-like) or 1d\n\
00142 # (unordered). Point clouds organized as 2d images may be produced by\n\
00143 # camera depth sensors such as stereo or time-of-flight.\n\
00144 \n\
00145 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00146 # points).\n\
00147 Header header\n\
00148 \n\
00149 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00150 # 1 and width is the length of the point cloud.\n\
00151 uint32 height\n\
00152 uint32 width\n\
00153 \n\
00154 # Describes the channels and their layout in the binary data blob.\n\
00155 PointField[] fields\n\
00156 \n\
00157 bool    is_bigendian # Is this data bigendian?\n\
00158 uint32  point_step   # Length of a point in bytes\n\
00159 uint32  row_step     # Length of a row in bytes\n\
00160 uint8[] data         # Actual point data, size is (row_step*height)\n\
00161 \n\
00162 bool is_dense        # True if there are no invalid points\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: std_msgs/Header\n\
00166 # Standard metadata for higher-level stamped data types.\n\
00167 # This is generally used to communicate timestamped data \n\
00168 # in a particular coordinate frame.\n\
00169 # \n\
00170 # sequence ID: consecutively increasing ID \n\
00171 uint32 seq\n\
00172 #Two-integer timestamp that is expressed as:\n\
00173 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00174 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00175 # time-handling sugar is provided by the client library\n\
00176 time stamp\n\
00177 #Frame this data is associated with\n\
00178 # 0: no frame\n\
00179 # 1: global frame\n\
00180 string frame_id\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: sensor_msgs/PointField\n\
00184 # This message holds the description of one point entry in the\n\
00185 # PointCloud2 message format.\n\
00186 uint8 INT8    = 1\n\
00187 uint8 UINT8   = 2\n\
00188 uint8 INT16   = 3\n\
00189 uint8 UINT16  = 4\n\
00190 uint8 INT32   = 5\n\
00191 uint8 UINT32  = 6\n\
00192 uint8 FLOAT32 = 7\n\
00193 uint8 FLOAT64 = 8\n\
00194 \n\
00195 string name      # Name of field\n\
00196 uint32 offset    # Offset from start of point struct\n\
00197 uint8  datatype  # Datatype enumeration, see above\n\
00198 uint32 count     # How many elements in the field\n\
00199 \n\
00200 ";
00201   }
00202 
00203   static const char* value(const  ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> &) { return value(); } 
00204 };
00205 
00206 } // namespace message_traits
00207 } // namespace ros
00208 
00209 
00210 namespace ros
00211 {
00212 namespace message_traits
00213 {
00214 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > : public TrueType {};
00215 template<class ContainerAllocator> struct IsMessage< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator>  const> : public TrueType {};
00216 template<class ContainerAllocator>
00217 struct MD5Sum< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > {
00218   static const char* value() 
00219   {
00220     return "6db5ac8d8316fdb3e0c62197115f87cd";
00221   }
00222 
00223   static const char* value(const  ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> &) { return value(); } 
00224   static const uint64_t static_value1 = 0x6db5ac8d8316fdb3ULL;
00225   static const uint64_t static_value2 = 0xe0c62197115f87cdULL;
00226 };
00227 
00228 template<class ContainerAllocator>
00229 struct DataType< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > {
00230   static const char* value() 
00231   {
00232     return "jsk_perception/EuclideanSegmentResponse";
00233   }
00234 
00235   static const char* value(const  ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> &) { return value(); } 
00236 };
00237 
00238 template<class ContainerAllocator>
00239 struct Definition< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > {
00240   static const char* value() 
00241   {
00242     return "sensor_msgs/PointCloud2[] output\n\
00243 \n\
00244 \n\
00245 ================================================================================\n\
00246 MSG: sensor_msgs/PointCloud2\n\
00247 # This message holds a collection of N-dimensional points, which may\n\
00248 # contain additional information such as normals, intensity, etc. The\n\
00249 # point data is stored as a binary blob, its layout described by the\n\
00250 # contents of the \"fields\" array.\n\
00251 \n\
00252 # The point cloud data may be organized 2d (image-like) or 1d\n\
00253 # (unordered). Point clouds organized as 2d images may be produced by\n\
00254 # camera depth sensors such as stereo or time-of-flight.\n\
00255 \n\
00256 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\
00257 # points).\n\
00258 Header header\n\
00259 \n\
00260 # 2D structure of the point cloud. If the cloud is unordered, height is\n\
00261 # 1 and width is the length of the point cloud.\n\
00262 uint32 height\n\
00263 uint32 width\n\
00264 \n\
00265 # Describes the channels and their layout in the binary data blob.\n\
00266 PointField[] fields\n\
00267 \n\
00268 bool    is_bigendian # Is this data bigendian?\n\
00269 uint32  point_step   # Length of a point in bytes\n\
00270 uint32  row_step     # Length of a row in bytes\n\
00271 uint8[] data         # Actual point data, size is (row_step*height)\n\
00272 \n\
00273 bool is_dense        # True if there are no invalid points\n\
00274 \n\
00275 ================================================================================\n\
00276 MSG: std_msgs/Header\n\
00277 # Standard metadata for higher-level stamped data types.\n\
00278 # This is generally used to communicate timestamped data \n\
00279 # in a particular coordinate frame.\n\
00280 # \n\
00281 # sequence ID: consecutively increasing ID \n\
00282 uint32 seq\n\
00283 #Two-integer timestamp that is expressed as:\n\
00284 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00285 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00286 # time-handling sugar is provided by the client library\n\
00287 time stamp\n\
00288 #Frame this data is associated with\n\
00289 # 0: no frame\n\
00290 # 1: global frame\n\
00291 string frame_id\n\
00292 \n\
00293 ================================================================================\n\
00294 MSG: sensor_msgs/PointField\n\
00295 # This message holds the description of one point entry in the\n\
00296 # PointCloud2 message format.\n\
00297 uint8 INT8    = 1\n\
00298 uint8 UINT8   = 2\n\
00299 uint8 INT16   = 3\n\
00300 uint8 UINT16  = 4\n\
00301 uint8 INT32   = 5\n\
00302 uint8 UINT32  = 6\n\
00303 uint8 FLOAT32 = 7\n\
00304 uint8 FLOAT64 = 8\n\
00305 \n\
00306 string name      # Name of field\n\
00307 uint32 offset    # Offset from start of point struct\n\
00308 uint8  datatype  # Datatype enumeration, see above\n\
00309 uint32 count     # How many elements in the field\n\
00310 \n\
00311 ";
00312   }
00313 
00314   static const char* value(const  ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> &) { return value(); } 
00315 };
00316 
00317 } // namespace message_traits
00318 } // namespace ros
00319 
00320 namespace ros
00321 {
00322 namespace serialization
00323 {
00324 
00325 template<class ContainerAllocator> struct Serializer< ::jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> >
00326 {
00327   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00328   {
00329     stream.next(m.input);
00330     stream.next(m.tolerance);
00331   }
00332 
00333   ROS_DECLARE_ALLINONE_SERIALIZER;
00334 }; // struct EuclideanSegmentRequest_
00335 } // namespace serialization
00336 } // namespace ros
00337 
00338 
00339 namespace ros
00340 {
00341 namespace serialization
00342 {
00343 
00344 template<class ContainerAllocator> struct Serializer< ::jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> >
00345 {
00346   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00347   {
00348     stream.next(m.output);
00349   }
00350 
00351   ROS_DECLARE_ALLINONE_SERIALIZER;
00352 }; // struct EuclideanSegmentResponse_
00353 } // namespace serialization
00354 } // namespace ros
00355 
00356 namespace ros
00357 {
00358 namespace service_traits
00359 {
00360 template<>
00361 struct MD5Sum<jsk_perception::EuclideanSegment> {
00362   static const char* value() 
00363   {
00364     return "7210bbdf9078b61fce51942a9f673096";
00365   }
00366 
00367   static const char* value(const jsk_perception::EuclideanSegment&) { return value(); } 
00368 };
00369 
00370 template<>
00371 struct DataType<jsk_perception::EuclideanSegment> {
00372   static const char* value() 
00373   {
00374     return "jsk_perception/EuclideanSegment";
00375   }
00376 
00377   static const char* value(const jsk_perception::EuclideanSegment&) { return value(); } 
00378 };
00379 
00380 template<class ContainerAllocator>
00381 struct MD5Sum<jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > {
00382   static const char* value() 
00383   {
00384     return "7210bbdf9078b61fce51942a9f673096";
00385   }
00386 
00387   static const char* value(const jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> &) { return value(); } 
00388 };
00389 
00390 template<class ContainerAllocator>
00391 struct DataType<jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> > {
00392   static const char* value() 
00393   {
00394     return "jsk_perception/EuclideanSegment";
00395   }
00396 
00397   static const char* value(const jsk_perception::EuclideanSegmentRequest_<ContainerAllocator> &) { return value(); } 
00398 };
00399 
00400 template<class ContainerAllocator>
00401 struct MD5Sum<jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > {
00402   static const char* value() 
00403   {
00404     return "7210bbdf9078b61fce51942a9f673096";
00405   }
00406 
00407   static const char* value(const jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> &) { return value(); } 
00408 };
00409 
00410 template<class ContainerAllocator>
00411 struct DataType<jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> > {
00412   static const char* value() 
00413   {
00414     return "jsk_perception/EuclideanSegment";
00415   }
00416 
00417   static const char* value(const jsk_perception::EuclideanSegmentResponse_<ContainerAllocator> &) { return value(); } 
00418 };
00419 
00420 } // namespace service_traits
00421 } // namespace ros
00422 
00423 #endif // JSK_PERCEPTION_SERVICE_EUCLIDEANSEGMENT_H
00424 
 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