$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/srv/GetBoundingBoxes.srv */ 00002 #ifndef COB_3D_MAPPING_MSGS_SERVICE_GETBOUNDINGBOXES_H 00003 #define COB_3D_MAPPING_MSGS_SERVICE_GETBOUNDINGBOXES_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 cob_3d_mapping_msgs 00024 { 00025 template <class ContainerAllocator> 00026 struct GetBoundingBoxesRequest_ { 00027 typedef GetBoundingBoxesRequest_<ContainerAllocator> Type; 00028 00029 GetBoundingBoxesRequest_() 00030 { 00031 } 00032 00033 GetBoundingBoxesRequest_(const ContainerAllocator& _alloc) 00034 { 00035 } 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/GetBoundingBoxesRequest"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getServerMD5Sum_() { return "2c8e5a484f41a0aac9855792591d7d4c"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "\n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 return stream.getData(); 00071 } 00072 00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00074 { 00075 ros::serialization::IStream stream(read_ptr, 1000000000); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct GetBoundingBoxesRequest 00089 typedef ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<std::allocator<void> > GetBoundingBoxesRequest; 00090 00091 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest> GetBoundingBoxesRequestPtr; 00092 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest const> GetBoundingBoxesRequestConstPtr; 00093 00094 00095 template <class ContainerAllocator> 00096 struct GetBoundingBoxesResponse_ { 00097 typedef GetBoundingBoxesResponse_<ContainerAllocator> Type; 00098 00099 GetBoundingBoxesResponse_() 00100 : bounding_boxes() 00101 { 00102 } 00103 00104 GetBoundingBoxesResponse_(const ContainerAllocator& _alloc) 00105 : bounding_boxes(_alloc) 00106 { 00107 } 00108 00109 typedef std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > _bounding_boxes_type; 00110 std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > bounding_boxes; 00111 00112 00113 ROS_DEPRECATED uint32_t get_bounding_boxes_size() const { return (uint32_t)bounding_boxes.size(); } 00114 ROS_DEPRECATED void set_bounding_boxes_size(uint32_t size) { bounding_boxes.resize((size_t)size); } 00115 ROS_DEPRECATED void get_bounding_boxes_vec(std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > & vec) const { vec = this->bounding_boxes; } 00116 ROS_DEPRECATED void set_bounding_boxes_vec(const std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > & vec) { this->bounding_boxes = vec; } 00117 private: 00118 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/GetBoundingBoxesResponse"; } 00119 public: 00120 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00121 00122 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00123 00124 private: 00125 static const char* __s_getMD5Sum_() { return "2c8e5a484f41a0aac9855792591d7d4c"; } 00126 public: 00127 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00128 00129 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00130 00131 private: 00132 static const char* __s_getServerMD5Sum_() { return "2c8e5a484f41a0aac9855792591d7d4c"; } 00133 public: 00134 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00135 00136 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00137 00138 private: 00139 static const char* __s_getMessageDefinition_() { return "sensor_msgs/PointCloud2[] bounding_boxes\n\ 00140 \n\ 00141 \n\ 00142 ================================================================================\n\ 00143 MSG: sensor_msgs/PointCloud2\n\ 00144 # This message holds a collection of N-dimensional points, which may\n\ 00145 # contain additional information such as normals, intensity, etc. The\n\ 00146 # point data is stored as a binary blob, its layout described by the\n\ 00147 # contents of the \"fields\" array.\n\ 00148 \n\ 00149 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00150 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00151 # camera depth sensors such as stereo or time-of-flight.\n\ 00152 \n\ 00153 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00154 # points).\n\ 00155 Header header\n\ 00156 \n\ 00157 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00158 # 1 and width is the length of the point cloud.\n\ 00159 uint32 height\n\ 00160 uint32 width\n\ 00161 \n\ 00162 # Describes the channels and their layout in the binary data blob.\n\ 00163 PointField[] fields\n\ 00164 \n\ 00165 bool is_bigendian # Is this data bigendian?\n\ 00166 uint32 point_step # Length of a point in bytes\n\ 00167 uint32 row_step # Length of a row in bytes\n\ 00168 uint8[] data # Actual point data, size is (row_step*height)\n\ 00169 \n\ 00170 bool is_dense # True if there are no invalid points\n\ 00171 \n\ 00172 ================================================================================\n\ 00173 MSG: std_msgs/Header\n\ 00174 # Standard metadata for higher-level stamped data types.\n\ 00175 # This is generally used to communicate timestamped data \n\ 00176 # in a particular coordinate frame.\n\ 00177 # \n\ 00178 # sequence ID: consecutively increasing ID \n\ 00179 uint32 seq\n\ 00180 #Two-integer timestamp that is expressed as:\n\ 00181 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00182 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00183 # time-handling sugar is provided by the client library\n\ 00184 time stamp\n\ 00185 #Frame this data is associated with\n\ 00186 # 0: no frame\n\ 00187 # 1: global frame\n\ 00188 string frame_id\n\ 00189 \n\ 00190 ================================================================================\n\ 00191 MSG: sensor_msgs/PointField\n\ 00192 # This message holds the description of one point entry in the\n\ 00193 # PointCloud2 message format.\n\ 00194 uint8 INT8 = 1\n\ 00195 uint8 UINT8 = 2\n\ 00196 uint8 INT16 = 3\n\ 00197 uint8 UINT16 = 4\n\ 00198 uint8 INT32 = 5\n\ 00199 uint8 UINT32 = 6\n\ 00200 uint8 FLOAT32 = 7\n\ 00201 uint8 FLOAT64 = 8\n\ 00202 \n\ 00203 string name # Name of field\n\ 00204 uint32 offset # Offset from start of point struct\n\ 00205 uint8 datatype # Datatype enumeration, see above\n\ 00206 uint32 count # How many elements in the field\n\ 00207 \n\ 00208 "; } 00209 public: 00210 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00211 00212 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00213 00214 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00215 { 00216 ros::serialization::OStream stream(write_ptr, 1000000000); 00217 ros::serialization::serialize(stream, bounding_boxes); 00218 return stream.getData(); 00219 } 00220 00221 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00222 { 00223 ros::serialization::IStream stream(read_ptr, 1000000000); 00224 ros::serialization::deserialize(stream, bounding_boxes); 00225 return stream.getData(); 00226 } 00227 00228 ROS_DEPRECATED virtual uint32_t serializationLength() const 00229 { 00230 uint32_t size = 0; 00231 size += ros::serialization::serializationLength(bounding_boxes); 00232 return size; 00233 } 00234 00235 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > Ptr; 00236 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> const> ConstPtr; 00237 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00238 }; // struct GetBoundingBoxesResponse 00239 typedef ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<std::allocator<void> > GetBoundingBoxesResponse; 00240 00241 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse> GetBoundingBoxesResponsePtr; 00242 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse const> GetBoundingBoxesResponseConstPtr; 00243 00244 struct GetBoundingBoxes 00245 { 00246 00247 typedef GetBoundingBoxesRequest Request; 00248 typedef GetBoundingBoxesResponse Response; 00249 Request request; 00250 Response response; 00251 00252 typedef Request RequestType; 00253 typedef Response ResponseType; 00254 }; // struct GetBoundingBoxes 00255 } // namespace cob_3d_mapping_msgs 00256 00257 namespace ros 00258 { 00259 namespace message_traits 00260 { 00261 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > : public TrueType {}; 00262 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> const> : public TrueType {}; 00263 template<class ContainerAllocator> 00264 struct MD5Sum< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "d41d8cd98f00b204e9800998ecf8427e"; 00268 } 00269 00270 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> &) { return value(); } 00271 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00272 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00273 }; 00274 00275 template<class ContainerAllocator> 00276 struct DataType< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > { 00277 static const char* value() 00278 { 00279 return "cob_3d_mapping_msgs/GetBoundingBoxesRequest"; 00280 } 00281 00282 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> &) { return value(); } 00283 }; 00284 00285 template<class ContainerAllocator> 00286 struct Definition< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > { 00287 static const char* value() 00288 { 00289 return "\n\ 00290 "; 00291 } 00292 00293 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> &) { return value(); } 00294 }; 00295 00296 template<class ContainerAllocator> struct IsFixedSize< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > : public TrueType {}; 00297 } // namespace message_traits 00298 } // namespace ros 00299 00300 00301 namespace ros 00302 { 00303 namespace message_traits 00304 { 00305 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > : public TrueType {}; 00306 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> const> : public TrueType {}; 00307 template<class ContainerAllocator> 00308 struct MD5Sum< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > { 00309 static const char* value() 00310 { 00311 return "2c8e5a484f41a0aac9855792591d7d4c"; 00312 } 00313 00314 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> &) { return value(); } 00315 static const uint64_t static_value1 = 0x2c8e5a484f41a0aaULL; 00316 static const uint64_t static_value2 = 0xc9855792591d7d4cULL; 00317 }; 00318 00319 template<class ContainerAllocator> 00320 struct DataType< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > { 00321 static const char* value() 00322 { 00323 return "cob_3d_mapping_msgs/GetBoundingBoxesResponse"; 00324 } 00325 00326 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> &) { return value(); } 00327 }; 00328 00329 template<class ContainerAllocator> 00330 struct Definition< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > { 00331 static const char* value() 00332 { 00333 return "sensor_msgs/PointCloud2[] bounding_boxes\n\ 00334 \n\ 00335 \n\ 00336 ================================================================================\n\ 00337 MSG: sensor_msgs/PointCloud2\n\ 00338 # This message holds a collection of N-dimensional points, which may\n\ 00339 # contain additional information such as normals, intensity, etc. The\n\ 00340 # point data is stored as a binary blob, its layout described by the\n\ 00341 # contents of the \"fields\" array.\n\ 00342 \n\ 00343 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00344 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00345 # camera depth sensors such as stereo or time-of-flight.\n\ 00346 \n\ 00347 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00348 # points).\n\ 00349 Header header\n\ 00350 \n\ 00351 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00352 # 1 and width is the length of the point cloud.\n\ 00353 uint32 height\n\ 00354 uint32 width\n\ 00355 \n\ 00356 # Describes the channels and their layout in the binary data blob.\n\ 00357 PointField[] fields\n\ 00358 \n\ 00359 bool is_bigendian # Is this data bigendian?\n\ 00360 uint32 point_step # Length of a point in bytes\n\ 00361 uint32 row_step # Length of a row in bytes\n\ 00362 uint8[] data # Actual point data, size is (row_step*height)\n\ 00363 \n\ 00364 bool is_dense # True if there are no invalid points\n\ 00365 \n\ 00366 ================================================================================\n\ 00367 MSG: std_msgs/Header\n\ 00368 # Standard metadata for higher-level stamped data types.\n\ 00369 # This is generally used to communicate timestamped data \n\ 00370 # in a particular coordinate frame.\n\ 00371 # \n\ 00372 # sequence ID: consecutively increasing ID \n\ 00373 uint32 seq\n\ 00374 #Two-integer timestamp that is expressed as:\n\ 00375 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00376 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00377 # time-handling sugar is provided by the client library\n\ 00378 time stamp\n\ 00379 #Frame this data is associated with\n\ 00380 # 0: no frame\n\ 00381 # 1: global frame\n\ 00382 string frame_id\n\ 00383 \n\ 00384 ================================================================================\n\ 00385 MSG: sensor_msgs/PointField\n\ 00386 # This message holds the description of one point entry in the\n\ 00387 # PointCloud2 message format.\n\ 00388 uint8 INT8 = 1\n\ 00389 uint8 UINT8 = 2\n\ 00390 uint8 INT16 = 3\n\ 00391 uint8 UINT16 = 4\n\ 00392 uint8 INT32 = 5\n\ 00393 uint8 UINT32 = 6\n\ 00394 uint8 FLOAT32 = 7\n\ 00395 uint8 FLOAT64 = 8\n\ 00396 \n\ 00397 string name # Name of field\n\ 00398 uint32 offset # Offset from start of point struct\n\ 00399 uint8 datatype # Datatype enumeration, see above\n\ 00400 uint32 count # How many elements in the field\n\ 00401 \n\ 00402 "; 00403 } 00404 00405 static const char* value(const ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> &) { return value(); } 00406 }; 00407 00408 } // namespace message_traits 00409 } // namespace ros 00410 00411 namespace ros 00412 { 00413 namespace serialization 00414 { 00415 00416 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > 00417 { 00418 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00419 { 00420 } 00421 00422 ROS_DECLARE_ALLINONE_SERIALIZER; 00423 }; // struct GetBoundingBoxesRequest_ 00424 } // namespace serialization 00425 } // namespace ros 00426 00427 00428 namespace ros 00429 { 00430 namespace serialization 00431 { 00432 00433 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > 00434 { 00435 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00436 { 00437 stream.next(m.bounding_boxes); 00438 } 00439 00440 ROS_DECLARE_ALLINONE_SERIALIZER; 00441 }; // struct GetBoundingBoxesResponse_ 00442 } // namespace serialization 00443 } // namespace ros 00444 00445 namespace ros 00446 { 00447 namespace service_traits 00448 { 00449 template<> 00450 struct MD5Sum<cob_3d_mapping_msgs::GetBoundingBoxes> { 00451 static const char* value() 00452 { 00453 return "2c8e5a484f41a0aac9855792591d7d4c"; 00454 } 00455 00456 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxes&) { return value(); } 00457 }; 00458 00459 template<> 00460 struct DataType<cob_3d_mapping_msgs::GetBoundingBoxes> { 00461 static const char* value() 00462 { 00463 return "cob_3d_mapping_msgs/GetBoundingBoxes"; 00464 } 00465 00466 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxes&) { return value(); } 00467 }; 00468 00469 template<class ContainerAllocator> 00470 struct MD5Sum<cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > { 00471 static const char* value() 00472 { 00473 return "2c8e5a484f41a0aac9855792591d7d4c"; 00474 } 00475 00476 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> &) { return value(); } 00477 }; 00478 00479 template<class ContainerAllocator> 00480 struct DataType<cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> > { 00481 static const char* value() 00482 { 00483 return "cob_3d_mapping_msgs/GetBoundingBoxes"; 00484 } 00485 00486 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxesRequest_<ContainerAllocator> &) { return value(); } 00487 }; 00488 00489 template<class ContainerAllocator> 00490 struct MD5Sum<cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > { 00491 static const char* value() 00492 { 00493 return "2c8e5a484f41a0aac9855792591d7d4c"; 00494 } 00495 00496 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> &) { return value(); } 00497 }; 00498 00499 template<class ContainerAllocator> 00500 struct DataType<cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> > { 00501 static const char* value() 00502 { 00503 return "cob_3d_mapping_msgs/GetBoundingBoxes"; 00504 } 00505 00506 static const char* value(const cob_3d_mapping_msgs::GetBoundingBoxesResponse_<ContainerAllocator> &) { return value(); } 00507 }; 00508 00509 } // namespace service_traits 00510 } // namespace ros 00511 00512 #endif // COB_3D_MAPPING_MSGS_SERVICE_GETBOUNDINGBOXES_H 00513